|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.dom.DOMAttributeMap
class DOMAttributeMap
Implementation of DOM NamedNodeMap used to represent the attributes of an element, for use when Saxon element and attribute nodes are accessed using the DOM API.
Note that namespaces are treated as attributes.
Constructor Summary | |
---|---|
DOMAttributeMap(NodeInfo parent)
Construct an AttributeMap for a given element node |
Method Summary | |
---|---|
int |
getLength()
Get number of attributes and namespaces (DOM NamedNodeMap method). |
Node |
getNamedItem(String name)
Get named attribute (DOM NamedNodeMap method) |
Node |
getNamedItemNS(String uri,
String localName)
Get named attribute (DOM NamedNodeMap method) |
Node |
item(int index)
Get n'th attribute (DOM NamedNodeMap method). |
Node |
removeNamedItem(String name)
Remove named attribute (DOM NamedNodeMap method: always fails) |
Node |
removeNamedItemNS(String uri,
String localName)
Remove named attribute (DOM NamedNodeMap method: always fails) |
Node |
setNamedItem(Node arg)
Set named attribute (DOM NamedNodeMap method: always fails) |
Node |
setNamedItemNS(Node arg)
Set named attribute (DOM NamedNodeMap method: always fails) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMAttributeMap(NodeInfo parent)
Method Detail |
---|
public Node getNamedItem(String name)
getNamedItem
in interface NamedNodeMap
public Node item(int index)
item
in interface NamedNodeMap
public int getLength()
getLength
in interface NamedNodeMap
public Node getNamedItemNS(String uri, String localName)
getNamedItemNS
in interface NamedNodeMap
public Node setNamedItem(Node arg) throws DOMException
setNamedItem
in interface NamedNodeMap
DOMException
public Node removeNamedItem(String name) throws DOMException
removeNamedItem
in interface NamedNodeMap
DOMException
public Node setNamedItemNS(Node arg) throws DOMException
setNamedItemNS
in interface NamedNodeMap
DOMException
public Node removeNamedItemNS(String uri, String localName) throws DOMException
removeNamedItemNS
in interface NamedNodeMap
DOMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |