org.jbind.xml.dom3.core
Class DomAttrsMap

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

public class DomAttrsMap
extends DomNamedNodeMap
implements IDomAttrsMap


Field Summary
 
Fields inherited from class org.jbind.xml.dom3.core.DomObject
myOwnerDocument
 
Constructor Summary
DomAttrsMap(IDomAttrsMap aMap, IDomElement anOwnerElement)
          Creates a deep copy of the specified attributes map.
DomAttrsMap(IDomElement anOwnerElement)
           
 
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()
           
 IDomElement getOwnerElement()
           
 void removeAttribute(java.lang.String aNamespace, java.lang.String aName)
           
 void setDefaultAttrCreator(IDefaultAttrCreator aCreator)
           
 
Methods inherited from class org.jbind.xml.dom3.core.DomNamedNodeMap
getLength, getNamedItem, getNamedItemNS, item, iterNodes, removeNamedItem, removeNamedItemNS, removeNode, setNamedItem, setNamedItemNS
 
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.IDomNamedNodeMap
iterNodes, removeNode
 
Methods inherited from interface org.w3c.dom.NamedNodeMap
getLength, getNamedItem, getNamedItemNS, item, removeNamedItem, removeNamedItemNS, setNamedItem, setNamedItemNS
 
Methods inherited from interface org.jbind.xml.dom3.types.IDomObject
getOwnerDocument, isReadOnly
 

Constructor Detail

DomAttrsMap

public DomAttrsMap(IDomElement anOwnerElement)

DomAttrsMap

public DomAttrsMap(IDomAttrsMap aMap,
                   IDomElement anOwnerElement)
Creates a deep copy of the specified attributes map.

Method Detail

setDefaultAttrCreator

public void setDefaultAttrCreator(IDefaultAttrCreator aCreator)
Specified by:
setDefaultAttrCreator in interface IDomAttrsMap

doGetDefault

protected org.w3c.dom.Node doGetDefault(java.lang.String aNamespace,
                                        java.lang.String aName)
Description copied from class: DomNamedNodeMap
Gets a default value.

Overrides:
doGetDefault in class DomNamedNodeMap
Parameters:
aNamespace - (optional).
aName - (required).
Returns:
(optional).

doAfterSet

protected void doAfterSet(org.w3c.dom.Node aNode)
Overrides:
doAfterSet in class DomNamedNodeMap

doSetDefaults

protected void doSetDefaults()
Overrides:
doSetDefaults in class DomNamedNodeMap

getOwnerElement

public IDomElement getOwnerElement()
Specified by:
getOwnerElement in interface IDomAttrsMap

removeAttribute

public void removeAttribute(java.lang.String aNamespace,
                            java.lang.String aName)
                     throws XmlException
Specified by:
removeAttribute in interface IDomAttrsMap
Throws:
XmlException