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 NamedNodeMap
public Node getNamedItemNS(String namespaceURI, String localName)
getNamedItemNS
in interface NamedNodeMap
public Node setNamedItem(Node arg) throws DOMException
setNamedItem
in interface NamedNodeMap
DOMException
public Node setNamedItemNS(Node arg) throws DOMException
setNamedItemNS
in interface NamedNodeMap
DOMException
public Node removeNamedItem(String name) throws DOMException
removeNamedItem
in interface NamedNodeMap
DOMException
public Node removeNamedItemNS(String namespaceURI, String localName)
removeNamedItemNS
in interface NamedNodeMap
public Node item(int index)
item
in interface NamedNodeMap
public int getLength()
getLength
in interface NamedNodeMap
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.