org.exist.dom
Class DocumentTypeImpl

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

public class DocumentTypeImpl
extends StoredNode
implements DocumentType


Field Summary
 
Fields inherited from class org.exist.dom.StoredNode
LENGTH_SIGNATURE_LENGTH, UNKNOWN_NODE_IMPL_ADDRESS
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
DocumentTypeImpl()
           
DocumentTypeImpl(String name)
           
DocumentTypeImpl(String name, String publicId, String systemId)
           
 
Method Summary
 void clear()
          Reset this object to its initial state.
 NamedNodeMap getEntities()
           
 String getInternalSubset()
           
 String getName()
           
 NamedNodeMap getNotations()
           
 String getPublicId()
           
 String getSystemId()
           
 boolean hasChildNodes()
           
 void setPublicId(String publicId)
           
 void setSystemId(String systemId)
           
 
Methods inherited from class org.exist.dom.StoredNode
accept, accept, deserialize, deserialize, equals, getDocId, getDocument, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOwnerDocument, getParentNode, getPath, getPath, getPreviousSibling, getQName, isDirty, release, serialize, setDirty, setInternalAddress, setNodeId, 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, setNodeName, setNodeValue, setPrefix, setTextContent, setUserData, supports, updateChild, updateChild
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

DocumentTypeImpl

public DocumentTypeImpl()

DocumentTypeImpl

public DocumentTypeImpl(String name)

DocumentTypeImpl

public DocumentTypeImpl(String name,
                        String publicId,
                        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 String getName()
Specified by:
getName in interface DocumentType

hasChildNodes

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

getPublicId

public String getPublicId()
Specified by:
getPublicId in interface DocumentType

setPublicId

public void setPublicId(String publicId)

getSystemId

public String getSystemId()
Specified by:
getSystemId in interface DocumentType

setSystemId

public void setSystemId(String systemId)

getEntities

public NamedNodeMap getEntities()
Specified by:
getEntities in interface DocumentType

getNotations

public NamedNodeMap getNotations()
Specified by:
getNotations in interface DocumentType

getInternalSubset

public String getInternalSubset()
Specified by:
getInternalSubset in interface DocumentType


Copyright (C) Wolfgang Meier. All rights reserved.