public final class NamedNodeMapImpl extends Object implements NamedNodeMap
DocumentTypeImpl to hold collections of element, notation and
other definitions.
The actual collection of objects is held by some owner node in a Dictionary. This map object provides access to this dictionary in a
manner that is consistent with the DOM. This map can be accessed
concurrently, so the owner need only create one map per dictionary.
Nodes are not maintained in any particular order, so accessing them by index can be expected to be a slow operation.
NamedNodeMap| Modifier and Type | Method and Description |
|---|---|
int |
getLength() |
Node |
getNamedItem(String name) |
Node |
getNamedItemNS(String namespaceURI,
String localName)
! NOT IMPLEMENTED !
|
Node |
item(int index) |
Node |
removeNamedItem(String name) |
Node |
removeNamedItemNS(String namespaceURI,
String localName)
! NOT IMPLEMENTED !
|
Node |
setNamedItem(Node arg) |
Node |
setNamedItemNS(Node arg) |
public Node getNamedItem(String name)
getNamedItem in interface NamedNodeMappublic Node getNamedItemNS(String namespaceURI, String localName)
getNamedItemNS in interface NamedNodeMappublic Node setNamedItem(Node arg) throws DOMException
setNamedItem in interface NamedNodeMapDOMExceptionpublic Node setNamedItemNS(Node arg) throws DOMException
setNamedItemNS in interface NamedNodeMapDOMExceptionpublic Node removeNamedItem(String name) throws DOMException
removeNamedItem in interface NamedNodeMapDOMExceptionpublic Node removeNamedItemNS(String namespaceURI, String localName)
removeNamedItemNS in interface NamedNodeMappublic Node item(int index)
item in interface NamedNodeMappublic int getLength()
getLength in interface NamedNodeMapPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.