Package org.dom4j.dom
Class DOMAttributeNodeMap
- java.lang.Object
-
- org.dom4j.dom.DOMAttributeNodeMap
-
- All Implemented Interfaces:
NamedNodeMap
public class DOMAttributeNodeMap extends Object implements NamedNodeMap
DOMAttributeNodeMap
implements a W3C NameNodeMap for the attributes of an element.
-
-
Constructor Summary
Constructors Constructor Description DOMAttributeNodeMap(DOMElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
foo()
int
getLength()
Node
getNamedItem(String name)
Node
getNamedItemNS(String namespaceURI, String localName)
Node
item(int index)
Node
removeNamedItem(String name)
Node
removeNamedItemNS(String namespaceURI, String localName)
Node
setNamedItem(Node arg)
Node
setNamedItemNS(Node arg)
-
-
-
Constructor Detail
-
DOMAttributeNodeMap
public DOMAttributeNodeMap(DOMElement element)
-
-
Method Detail
-
foo
public void foo() throws DOMException
- Throws:
DOMException
-
getNamedItem
public Node getNamedItem(String name)
- Specified by:
getNamedItem
in interfaceNamedNodeMap
-
setNamedItem
public Node setNamedItem(Node arg) throws DOMException
- Specified by:
setNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
-
removeNamedItem
public Node removeNamedItem(String name) throws DOMException
- Specified by:
removeNamedItem
in interfaceNamedNodeMap
- Throws:
DOMException
-
item
public Node item(int index)
- Specified by:
item
in interfaceNamedNodeMap
-
getLength
public int getLength()
- Specified by:
getLength
in interfaceNamedNodeMap
-
getNamedItemNS
public Node getNamedItemNS(String namespaceURI, String localName)
- Specified by:
getNamedItemNS
in interfaceNamedNodeMap
-
setNamedItemNS
public Node setNamedItemNS(Node arg) throws DOMException
- Specified by:
setNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
-
removeNamedItemNS
public Node removeNamedItemNS(String namespaceURI, String localName) throws DOMException
- Specified by:
removeNamedItemNS
in interfaceNamedNodeMap
- Throws:
DOMException
-
-