org.jbind.xml.dom3.core
Class DomNamedNodeMap

java.lang.Object
  extended byorg.jbind.xml.dom3.core.DomObject
      extended byorg.jbind.xml.dom3.core.DomNamedNodeMap
All Implemented Interfaces:
IDomNamedNodeMap, IDomObject, org.w3c.dom.NamedNodeMap
Direct Known Subclasses:
DomAttrsMap

public class DomNamedNodeMap
extends DomObject
implements IDomNamedNodeMap


Field Summary
 
Fields inherited from class org.jbind.xml.dom3.core.DomObject
myOwnerDocument
 
Constructor Summary
DomNamedNodeMap(IDomDocument aDomDocument)
           
DomNamedNodeMap(IDomNamedNodeMap aMap, boolean aDeep)
           
 
Method Summary
protected  void doAfterSet(org.w3c.dom.Node aNode)
           
protected  org.w3c.dom.Node doGetDefault(java.lang.String aNamespace, java.lang.String aName)
          Gets a default value.
protected  void doSetDefaults()
           
 int getLength()
           
 org.w3c.dom.Node getNamedItem(java.lang.String aName)
           
 org.w3c.dom.Node getNamedItemNS(java.lang.String aNamespaceUri, java.lang.String aLocalName)
           
 org.w3c.dom.Node item(int anIndex)
           
 java.util.Iterator iterNodes()
           
 org.w3c.dom.Node removeNamedItem(java.lang.String aName)
           
 org.w3c.dom.Node removeNamedItemNS(java.lang.String aNamespaceUri, java.lang.String aName)
           
 void removeNode(org.w3c.dom.Node aNode)
           
 org.w3c.dom.Node setNamedItem(org.w3c.dom.Node aNode)
           
 org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node aNode)
           
 
Methods inherited from class org.jbind.xml.dom3.core.DomObject
checkMutability, checkOwnerDocument, getOwnerDocument, isReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.dom3.types.IDomObject
getOwnerDocument, isReadOnly
 

Constructor Detail

DomNamedNodeMap

public DomNamedNodeMap(IDomDocument aDomDocument)

DomNamedNodeMap

public DomNamedNodeMap(IDomNamedNodeMap aMap,
                       boolean aDeep)
Method Detail

getLength

public int getLength()
Specified by:
getLength in interface org.w3c.dom.NamedNodeMap

getNamedItem

public org.w3c.dom.Node getNamedItem(java.lang.String aName)
Specified by:
getNamedItem in interface org.w3c.dom.NamedNodeMap

getNamedItemNS

public org.w3c.dom.Node getNamedItemNS(java.lang.String aNamespaceUri,
                                       java.lang.String aLocalName)
Specified by:
getNamedItemNS in interface org.w3c.dom.NamedNodeMap

item

public org.w3c.dom.Node item(int anIndex)
Specified by:
item in interface org.w3c.dom.NamedNodeMap

removeNamedItem

public org.w3c.dom.Node removeNamedItem(java.lang.String aName)
                                 throws DomException
Specified by:
removeNamedItem in interface org.w3c.dom.NamedNodeMap
Throws:
DomException

removeNamedItemNS

public org.w3c.dom.Node removeNamedItemNS(java.lang.String aNamespaceUri,
                                          java.lang.String aName)
                                   throws DomException
Specified by:
removeNamedItemNS in interface org.w3c.dom.NamedNodeMap
Throws:
DomException

removeNode

public void removeNode(org.w3c.dom.Node aNode)
                throws DomException
Specified by:
removeNode in interface IDomNamedNodeMap
Throws:
DomException

setNamedItem

public org.w3c.dom.Node setNamedItem(org.w3c.dom.Node aNode)
                              throws DomException
Specified by:
setNamedItem in interface org.w3c.dom.NamedNodeMap
Throws:
DomException

setNamedItemNS

public org.w3c.dom.Node setNamedItemNS(org.w3c.dom.Node aNode)
                                throws DomException
Specified by:
setNamedItemNS in interface org.w3c.dom.NamedNodeMap
Throws:
DomException

iterNodes

public java.util.Iterator iterNodes()
Specified by:
iterNodes in interface IDomNamedNodeMap

doAfterSet

protected void doAfterSet(org.w3c.dom.Node aNode)

doSetDefaults

protected void doSetDefaults()

doGetDefault

protected org.w3c.dom.Node doGetDefault(java.lang.String aNamespace,
                                        java.lang.String aName)
Gets a default value.

Parameters:
aNamespace - (optional).
aName - (required).
Returns:
(optional).