org.exist.dom
Class DocumentTypeImpl

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

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


Field Summary
protected  java.lang.String publicId
           
protected  java.lang.String systemId
           
 
Fields inherited from class org.exist.dom.NodeImpl
attributes, gid, internalAddress, nodeName, nodeNameRef, nodeType, ownerDocument
 
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
 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()
           
protected  void read(java.io.DataInput istream)
           
protected  void read(VariableByteInputStream 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.NodeImpl
appendChild, appendChildren, clear, cloneNode, deserialize, equals, firstChildID, getAttributes, getAttributesCount, getBroker, getChildCount, getChildNodes, getFirstChild, getGID, getInternalAddress, getLastChild, getLastNode, getLastNode, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeNameRef, getNodeType, getNodeValue, getOwnerDocument, getParentGID, getParentNode, getPath, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertAfter, insertAfter, insertBefore, insertBefore, isSupported, lastChildID, normalize, removeChild, replaceChild, serialize, setAttributes, setChildCount, setGID, setInternalAddress, setNodeName, setNodeNameRef, setNodeValue, setOwnerDocument, setPrefix, supports, toSAX, toSAX, toString, toString, 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, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

publicId

protected java.lang.String publicId

systemId

protected java.lang.String systemId
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

getName

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

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(java.io.DataInput istream)
             throws java.io.IOException
Throws:
java.io.IOException

read

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


Copyright (C) Wolfgang Meier. All rights reserved.