java.lang.Object | ||
↳ | org.apache.xerces.dom.NamedNodeMapImpl | |
↳ | org.apache.xerces.dom.AttributeMap |
AttributeMap inherits from NamedNodeMapImpl and extends it to deal with the specifics of storing attributes. These are:
This class doesn't directly support mutation events, however, it notifies the document when mutations are performed so that the document class do so.@xerces.internal
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.dom.NamedNodeMapImpl
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.dom.NamedNodeMapImpl
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a named node map.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Cloning a NamedNodeMap is a DEEP OPERATION; it always clones
all the nodes contained in the map.
| |||||||||||
Introduced in DOM Level 2.
| |||||||||||
Adds an attribute using its nodeName attribute.
| |||||||||||
Adds an attribute using its namespaceURI and localName.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Override parent's method to set the ownerNode correctly
| |||||||||||
Internal removeNamedItem method allowing to specify whether an exception
must be thrown if the specified name is not found.
| |||||||||||
Internal removeNamedItemNS method allowing to specify whether an
exception must be thrown if the specified local name and namespace URI
is not found.
| |||||||||||
Get this AttributeMap in sync with the given "defaults" map.
| |||||||||||
NON-DOM: Remove the node object
NOTE: Specifically removes THIS NODE -- not the node with this
name, nor the node with these contents.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.dom.NamedNodeMapImpl
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.w3c.dom.NamedNodeMap
|
Constructs a named node map.
Cloning a NamedNodeMap is a DEEP OPERATION; it always clones all the nodes contained in the map.
Introduced in DOM Level 2.
Removes an attribute specified by local name and namespace URI.
namespaceURI | 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. If the removed attribute is known to have a default value, an attribute immediately appears containing the default value. |
Raised if there is no node named name in the map. | |
DOMException |
Adds an attribute using its nodeName attribute.
arg | An Attr node to store in this map. |
---|
DOMException | The exception description. |
---|
Adds an attribute using its namespaceURI and localName.
arg | A node to store in a named node map. |
---|
DOMException |
---|
Override parent's method to set the ownerNode correctly
Internal removeNamedItem method allowing to specify whether an exception must be thrown if the specified name is not found.
Internal removeNamedItemNS method allowing to specify whether an exception must be thrown if the specified local name and namespace URI is not found.
Get this AttributeMap in sync with the given "defaults" map.
defaults | The default attributes map to sync with. |
---|
NON-DOM: Remove the node object NOTE: Specifically removes THIS NODE -- not the node with this name, nor the node with these contents. If node does not belong to this named node map, we throw a DOMException.
item | The node to remove |
---|---|
addDefault | true -- magically add default attribute |
DOMException |
---|