org.jbind.xml.dom3.core
Class DomEntity

java.lang.Object
  extended byorg.jbind.xml.dom3.core.DomObject
      extended byorg.jbind.xml.dom3.core.DomNode
          extended byorg.jbind.xml.dom3.core.DomNonAttrOrElm
              extended byorg.jbind.xml.dom3.core.DomEntity
All Implemented Interfaces:
org.w3c.dom.Entity, IDomEntity, IDomNode, IDomObject, IHasLocation, org.w3c.dom.Node

public class DomEntity
extends DomNonAttrOrElm
implements IDomEntity


Field Summary
 
Fields inherited from class org.jbind.xml.dom3.core.DomNode
myChildNodes, myParentNode
 
Fields inherited from class org.jbind.xml.dom3.core.DomObject
myOwnerDocument
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
  DomEntity(IDomDocument aDomDocument, java.lang.String aPublicId, java.lang.String aSystemId, java.lang.String aNotationName)
           
protected DomEntity(IDomEntity aDomEntity, boolean aDeep)
           
 
Method Summary
 org.w3c.dom.Node cloneNode(boolean aDeep)
           
protected  void doAfterAccept(IDomVisitor aDomVisitor)
           
protected  void doBeforeAccept(IDomVisitor aDomVisitor)
           
protected  IDomNodeList doCloneChildNodes(IDomNodeList aDomNodeList, boolean aDeep)
          Hook method for cloning the child nodes.
 java.lang.String getActualEncoding()
           
 java.lang.String getEncoding()
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 java.lang.String getNodeValue()
           
 java.lang.String getNotationName()
           
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 java.lang.String getTextContent()
           
 java.lang.String getVersion()
           
 void setActualEncoding(java.lang.String anEncoding)
           
 void setEncoding(java.lang.String anEncoding)
           
 void setNodeValue(java.lang.String aString)
           
 void setVersion(java.lang.String aVersion)
           
 
Methods inherited from class org.jbind.xml.dom3.core.DomNonAttrOrElm
getAttributes, getLocalName, getNamespaceURI, getPrefix, hasAttributes, isDefault, isNil, setPrefix
 
Methods inherited from class org.jbind.xml.dom3.core.DomNode
accept, addElement, addElement, addText, appendChild, collectTextContent, collectTextContent, compareTreePosition, getAncestor, getBaseURI, getChild, getChildByClass, getChildNodes, getFirstChild, getInterface, getLastChild, getLocation, getNamespaceForPrefix, getNbChildren, getNextSibling, getNonDefaultedNbChildren, getParentImpl, getParentNode, getPrefixForNamespace, getPrefixToNamespaceMapping, getPreviousSibling, getUserData, hasChildNodes, insertAfter, insertBefore, isEqualNode, isSameNode, isSupported, iterChildren, lookupNamespacePrefix, lookupNamespaceURI, normalize, removeChild, replaceChild, restoreTextContent, saveTextContent, setChildNodes, setLocation, setPrefixToNamespaceMapping, setTextContent, setTextContent, visitChildren
 
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.w3c.dom.Node
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setPrefix
 
Methods inherited from interface org.jbind.xml.dom3.types.IDomNode
accept, insertAfter, lookupNamespaceURI, setLocation, setPrefixToNamespaceMapping, setTextContent, setTextContent
 
Methods inherited from interface org.jbind.xml.dom3.types.IDomObject
getOwnerDocument, isReadOnly
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 

Constructor Detail

DomEntity

public DomEntity(IDomDocument aDomDocument,
                 java.lang.String aPublicId,
                 java.lang.String aSystemId,
                 java.lang.String aNotationName)

DomEntity

protected DomEntity(IDomEntity aDomEntity,
                    boolean aDeep)
Method Detail

cloneNode

public org.w3c.dom.Node cloneNode(boolean aDeep)
Specified by:
cloneNode in interface org.w3c.dom.Node

doCloneChildNodes

protected IDomNodeList doCloneChildNodes(IDomNodeList aDomNodeList,
                                         boolean aDeep)
Description copied from class: DomNode
Hook method for cloning the child nodes.

Specified by:
doCloneChildNodes in class DomNode

getNodeName

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

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node

getNodeValue

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

setNodeValue

public void setNodeValue(java.lang.String aString)
                  throws DomException
Specified by:
setNodeValue in interface org.w3c.dom.Node
Throws:
DomException

getNotationName

public java.lang.String getNotationName()
Specified by:
getNotationName in interface org.w3c.dom.Entity

getPublicId

public java.lang.String getPublicId()
Specified by:
getPublicId in interface org.w3c.dom.Entity

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface org.w3c.dom.Entity

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String aVersion)

getEncoding

public java.lang.String getEncoding()

setEncoding

public void setEncoding(java.lang.String anEncoding)

getActualEncoding

public java.lang.String getActualEncoding()

setActualEncoding

public void setActualEncoding(java.lang.String anEncoding)

doBeforeAccept

protected void doBeforeAccept(IDomVisitor aDomVisitor)
Specified by:
doBeforeAccept in class DomNode

doAfterAccept

protected void doAfterAccept(IDomVisitor aDomVisitor)
Specified by:
doAfterAccept in class DomNode

getTextContent

public java.lang.String getTextContent()
Specified by:
getTextContent in interface IDomNode