java.lang.Object | +--gnu.xml.dom.DomNamedNodeMapAll Implemented Interfaces:
DomNamedNodeMap(Document owner) Constructs an empty map associated with the specified document. |
void | compact() Reduces space utilization for this object. |
int | DOM L1 Returns the length of the map. |
getNamedItem(java.lang.String name) DOM L1 Returns the named item from the map, or null; names are just the nodeName property. | |
getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) DOM L2 Returns the named item from the map, or null; names are the localName and namespaceURI properties, ignoring any prefix. | |
boolean | Exposes the internal "readonly" flag. |
item(int index) DOM L1 Returns the indexed item from the map, or null. | |
void | Sets the internal "readonly" flag so the node and its children can't be changed. |
removeNamedItem(java.lang.String name) DOM L1 Removes the named item from the map, or reports an exception; names are just the nodeName property. | |
removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName) DOM L2 Removes the named item from the map, or reports an exception; names are the localName and namespaceURI properties. | |
setNamedItem(Node arg) DOM L1 Stores the named item into the map, optionally overwriting any existing node with that name. | |
setNamedItemNS(Node arg) DOM L2 Stores the named item into the map, optionally overwriting any existing node with that fully qualified name. |
public DomNamedNodeMap(Document owner)
public void compact()
public int getLength()
public Node getNamedItem(java.lang.String name)
public Node getNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
public final boolean isReadonly()
public Node item(int index)
public void makeReadonly()
public Node removeNamedItem(java.lang.String name)
public Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String localName)
public Node setNamedItem(Node arg)
public Node setNamedItemNS(Node arg)