|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.dom.NamedNodeMapImpl | +--weblogic.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.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Fields inherited from class weblogic.apache.xerces.dom.NamedNodeMapImpl |
CHANGED,
flags,
HASDEFAULTS,
nodes,
ownerNode,
READONLY |
Constructor Summary | |
protected |
AttributeMap(ElementImpl ownerNode,
NamedNodeMapImpl defaults)
Constructs a named node map. |
Method Summary | |
protected void |
cloneContent(NamedNodeMapImpl srcmap)
Override parent's method to set the ownerNode correctly |
NamedNodeMapImpl |
cloneMap(NodeImpl ownerNode)
Cloning a NamedNodeMap is a DEEP OPERATION; it always clones all the nodes contained in the map. |
protected org.w3c.dom.Node |
internalRemoveNamedItem(java.lang.String name,
boolean raiseEx)
Internal removeNamedItem method allowing to specify whether an exception must be thrown if the specified name is not found. |
protected org.w3c.dom.Node |
internalRemoveNamedItemNS(java.lang.String namespaceURI,
java.lang.String name,
boolean raiseEx)
Internal removeNamedItemNS method allowing to specify whether an exception must be thrown if the specified local name and namespace URI is not found. |
protected void |
reconcileDefaults(NamedNodeMapImpl defaults)
Get this AttributeMap in sync with the given "defaults" map. |
org.w3c.dom.Node |
removeNamedItem(java.lang.String name)
|
org.w3c.dom.Node |
removeNamedItemNS(java.lang.String namespaceURI,
java.lang.String name)
Introduced in DOM Level 2. |
org.w3c.dom.Node |
setNamedItem(org.w3c.dom.Node arg)
Adds an attribute using its nodeName attribute. |
org.w3c.dom.Node |
setNamedItemNS(org.w3c.dom.Node arg)
Adds an attribute using its namespaceURI and localName. |
Methods inherited from class weblogic.apache.xerces.dom.NamedNodeMapImpl |
findNamePoint,
findNamePoint,
getLength,
getNamedItem,
getNamedItemNS,
item |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected AttributeMap(ElementImpl ownerNode, NamedNodeMapImpl defaults)
Method Detail |
public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node arg) throws org.w3c.dom.DOMException
arg
- An Attr node to store in this map.NamedNodeMap.setNamedItem(org.w3c.dom.Node)
public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node arg) throws org.w3c.dom.DOMException
arg
- A node to store in a named node map.NamedNodeMap.setNamedItem(org.w3c.dom.Node)
public org.w3c.dom.Node removeNamedItem(java.lang.String name) throws org.w3c.dom.DOMException
protected final org.w3c.dom.Node internalRemoveNamedItem(java.lang.String name, boolean raiseEx)
public org.w3c.dom.Node removeNamedItemNS(java.lang.String namespaceURI, java.lang.String name) throws org.w3c.dom.DOMException
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.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.protected final org.w3c.dom.Node internalRemoveNamedItemNS(java.lang.String namespaceURI, java.lang.String name, boolean raiseEx)
public NamedNodeMapImpl cloneMap(NodeImpl ownerNode)
protected void cloneContent(NamedNodeMapImpl srcmap)
protected void reconcileDefaults(NamedNodeMapImpl defaults)
defaults
- The default attributes map to sync with.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |