public class AttributeMap extends NamedNodeMapImpl
CHANGED, flags, HASDEFAULTS, READONLY| Modifier | Constructor and Description |
|---|---|
protected |
AttributeMap(ParentNode ownerNode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cloneContent(NamedNodeMapImpl srcmap)
BORROWED from Xerces impl.
|
NamedNodeMapImpl |
cloneMap(NodeImpl ownerNode)
BORROWED from Xerces impl.
|
Node |
removeNamedItem(String name) |
Node |
removeNamedItemNS(String namespaceURI,
String name)
Introduced in DOM Level 2.
|
Node |
setNamedItem(Node attribute)
Almost a copy of the Xerces impl.
|
Node |
setNamedItemNS(Node attribute)
Almost a copy of the Xerces impl.
|
addItem, cloneMap, findNamePoint, findNamePoint, getItem, getLength, getNamedItem, getNamedItemIndex, getNamedItemNS, item, precedes, removeAll, removeItemprotected AttributeMap(ParentNode ownerNode)
ownerNode - public Node removeNamedItem(String name) throws DOMException
removeNamedItem in interface NamedNodeMapremoveNamedItem in class NamedNodeMapImplDOMExceptionpublic Node removeNamedItemNS(String namespaceURI, String name) throws DOMException
NamedNodeMapImplremoveNamedItemNS in interface NamedNodeMapremoveNamedItemNS in class NamedNodeMapImplnamespaceURI - The namespace URI of the node to remove. When it is null or an empty
string, this method behaves like removeNamedItem.name - The local name of the node to remove.DOMExceptionpublic Node setNamedItem(Node attribute) throws DOMException
setNamedItem in interface NamedNodeMapsetNamedItem in class NamedNodeMapImplattribute - A node to store in a named node map. The node will later be accessible using the
value of the namespaceURI and localName attribute of the node. If a node with
those namespace URI and local name is already present in the map, it is replaced
by the new one.DOMException - The exception description.NamedNodeMap.setNamedItem(org.w3c.dom.Node)public Node setNamedItemNS(Node attribute) throws DOMException
setNamedItemNS in interface NamedNodeMapsetNamedItemNS in class NamedNodeMapImplattribute - A node to store in a named node map. The node will later be accessible using the
value of the namespaceURI and localName attribute of the node. If a node with
those namespace URI and local name is already present in the map, it is replaced
by the new one.DOMExceptionNamedNodeMap.setNamedItem(org.w3c.dom.Node)public NamedNodeMapImpl cloneMap(NodeImpl ownerNode)
protected void cloneContent(NamedNodeMapImpl srcmap)
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.