org.jbind.xml.dom3.core
Class DomObject

java.lang.Object
  extended byorg.jbind.xml.dom3.core.DomObject
All Implemented Interfaces:
IDomObject
Direct Known Subclasses:
DomNamedNodeMap, DomNode, DomNodeList

public class DomObject
extends java.lang.Object
implements IDomObject


Field Summary
protected  IDomDocument myOwnerDocument
          The Document object associated with this node.
 
Constructor Summary
  DomObject(IDomDocument aDomDocument)
           
  DomObject(IDomDocument aDomDocument, boolean anIsReadOnly)
           
protected DomObject(IDomObject aDomObject, boolean aDeep)
           
 
Method Summary
protected  void checkMutability()
           
protected  void checkOwnerDocument(IDomObject aDomObject)
           
 org.w3c.dom.Document getOwnerDocument()
           
 boolean isReadOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myOwnerDocument

protected IDomDocument myOwnerDocument
The Document object associated with this node. This is also the Document object used to create new nodes. When this node is a Document or a DocumentType which is not used with any Document yet, this is null.

Constructor Detail

DomObject

public DomObject(IDomDocument aDomDocument)

DomObject

public DomObject(IDomDocument aDomDocument,
                 boolean anIsReadOnly)

DomObject

protected DomObject(IDomObject aDomObject,
                    boolean aDeep)
Method Detail

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Specified by:
getOwnerDocument in interface IDomObject

checkOwnerDocument

protected void checkOwnerDocument(IDomObject aDomObject)

checkMutability

protected void checkMutability()
                        throws DomException
Throws:
DomException

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface IDomObject