|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openxml.dom.AttrNodeMap
public final class AttrNodeMap
Used to traverse attributes of an element. This is a live list, meaning that any change to the element is reflected in this list and vice versa. This is implemented by iterating the element list in response to each method call.
This map must be implemented outside of ElementImpl due to
method name conflict with certain HTML elements (specifically getLength()).
NamedNodeMap| Method Summary | |
|---|---|
int |
getLength()
Return the number of attributes in this element. |
Node |
getNamedItem(String name)
|
Node |
getNamedItemNS(String namespaceURI,
String localName)
|
Node |
item(int index)
Return the nth attribute of the element (zero based). |
Node |
removeNamedItem(String name)
|
Node |
removeNamedItemNS(String namespaceURI,
String localName)
|
Node |
setNamedItem(Node arg)
|
Node |
setNamedItemNS(Node arg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Node item(int index)
item in interface NamedNodeMapindex - Index of attribute to return (zero based)
public int getLength()
getLength in interface NamedNodeMappublic Node getNamedItem(String name)
getNamedItem in interface NamedNodeMap
public Node getNamedItemNS(String namespaceURI,
String localName)
getNamedItemNS in interface NamedNodeMap
public Node setNamedItem(Node arg)
throws DOMException
setNamedItem in interface NamedNodeMapDOMException
public Node setNamedItemNS(Node arg)
throws DOMException
setNamedItemNS in interface NamedNodeMapDOMException
public Node removeNamedItem(String name)
throws DOMException
removeNamedItem in interface NamedNodeMapDOMException
public Node removeNamedItemNS(String namespaceURI,
String localName)
throws DOMException
removeNamedItemNS in interface NamedNodeMapDOMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||