org.exist.dom
Class DocumentTypeImpl

java.lang.Object
  extended byorg.exist.dom.NodeImpl
      extended byorg.exist.dom.StoredNode
          extended byorg.exist.dom.DocumentTypeImpl
All Implemented Interfaces:
org.w3c.dom.DocumentType, org.w3c.dom.Node, QNameable

public class DocumentTypeImpl
extends StoredNode
implements org.w3c.dom.DocumentType


Field Summary
protected  java.lang.String name
           
protected  java.lang.String publicId
           
protected  java.lang.String systemId
           
 
Fields inherited from class org.exist.dom.StoredNode
NODE_IMPL_ROOT_NODE_GID, NODE_IMPL_UNKNOWN_GID, UNKNOWN_NODE_IMPL_ADDRESS, UNKNOWN_NODE_IMPL_NODE_TYPE
 
Fields inherited from class org.exist.dom.NodeImpl
LOG
 
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
DocumentTypeImpl()
           
DocumentTypeImpl(java.lang.String name)
           
DocumentTypeImpl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
           
 
Method Summary
 void clear()
          Reset this object to its initial state.
 org.w3c.dom.NamedNodeMap getEntities()
           
 java.lang.String getInternalSubset()
           
 java.lang.String getName()
           
 org.w3c.dom.NamedNodeMap getNotations()
           
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 boolean hasChildNodes()
           
protected  void read(VariableByteArrayInput istream)
           
protected  void read(VariableByteInput istream)
           
 void setPublicId(java.lang.String publicId)
           
 void setSystemId(java.lang.String systemId)
           
protected  void write(java.io.DataOutput ostream)
           
protected  void write(VariableByteOutputStream ostream)
           
 
Methods inherited from class org.exist.dom.StoredNode
deserialize, deserialize, equals, firstChildID, getBroker, getGID, getInternalAddress, getLastNode, getLastNode, getNextSibling, getNodeType, getOwnerDocument, getParentGID, getParentNode, getPath, getPreviousSibling, getQName, release, serialize, setGID, setInternalAddress, setOwnerDocument, toString, toString
 
Methods inherited from class org.exist.dom.NodeImpl
appendChild, appendChildren, cloneNode, compareDocumentPosition, getAttributes, getAttributesCount, getBaseURI, getChildCount, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeName, getNodeValue, getPrefix, getTextContent, getUserData, hasAttributes, insertAfter, insertAfter, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setChildCount, setNodeName, setNodeValue, setPrefix, setTextContent, setUserData, supports, updateChild, updateChild
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

publicId

protected java.lang.String publicId

systemId

protected java.lang.String systemId

name

protected java.lang.String name
Constructor Detail

DocumentTypeImpl

public DocumentTypeImpl()

DocumentTypeImpl

public DocumentTypeImpl(java.lang.String name)

DocumentTypeImpl

public DocumentTypeImpl(java.lang.String name,
                        java.lang.String publicId,
                        java.lang.String systemId)
Method Detail

clear

public void clear()
Description copied from class: StoredNode
Reset this object to its initial state. Required by the parser to be able to reuse node objects.

Overrides:
clear in class StoredNode

getName

public java.lang.String getName()
Specified by:
getName in interface org.w3c.dom.DocumentType

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface org.w3c.dom.Node
Overrides:
hasChildNodes in class NodeImpl
See Also:
Node.hasChildNodes()

getPublicId

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

setPublicId

public void setPublicId(java.lang.String publicId)

getSystemId

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

setSystemId

public void setSystemId(java.lang.String systemId)

getEntities

public org.w3c.dom.NamedNodeMap getEntities()
Specified by:
getEntities in interface org.w3c.dom.DocumentType

getNotations

public org.w3c.dom.NamedNodeMap getNotations()
Specified by:
getNotations in interface org.w3c.dom.DocumentType

getInternalSubset

public java.lang.String getInternalSubset()
Specified by:
getInternalSubset in interface org.w3c.dom.DocumentType

write

protected void write(java.io.DataOutput ostream)
              throws java.io.IOException
Throws:
java.io.IOException

write

protected void write(VariableByteOutputStream ostream)
              throws java.io.IOException
Throws:
java.io.IOException

read

protected void read(VariableByteInput istream)
             throws java.io.IOException
Throws:
java.io.IOException

read

protected void read(VariableByteArrayInput istream)
             throws java.io.IOException
Throws:
java.io.IOException


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.