public interface NamedNodeMap extends Indexable
Element.attributes
(also potentially for DocumentType.entities
, DocumentType.notations
). NamedNodeMap
s are not in any particular order (unlike NodeList
), although they may be accessed by an index as in an array (they may also be accessed with the item
() method). A NamedNodeMap object are live and will thus be auto-updated if changes are made to their contents internally or elsewhere.Modifier and Type | Method and Description |
---|---|
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 node) |
Node |
setNamedItemNS(Node node) |
int getLength()
Node item(int index)
Copyright © 2018. All rights reserved.