com.japisoft.fastparser.dom
Class DocumentTypeImpl

java.lang.Object
  |
  +--com.japisoft.fastparser.node.SimpleNode
        |
        +--com.japisoft.fastparser.dom.NodeImpl
              |
              +--com.japisoft.fastparser.dom.DocumentTypeImpl
All Implemented Interfaces:
org.w3c.dom.DocumentType, MutableNode, org.w3c.dom.Node, ViewableNode

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

DocumentType : Not implemented

Author:
(c) 2002-2003 JAPISOFT

Field Summary
 
Fields inherited from class com.japisoft.fastparser.dom.NodeImpl
nameSpaceURI
 
Fields inherited from class com.japisoft.fastparser.node.SimpleNode
COMMENT_NODE, TAG_NODE, TEXT_NODE
 
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()
           
 
Method Summary
 org.w3c.dom.NamedNodeMap getEntities()
          A NamedNodeMap containing the general entities, both external and internal, declared in the DTD.
 java.lang.String getInternalSubset()
           
 java.lang.String getName()
          The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
 org.w3c.dom.NamedNodeMap getNotations()
          A NamedNodeMap containing the notations declared in the DTD.
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 
Methods inherited from class com.japisoft.fastparser.dom.NodeImpl
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNamespaceURI, setNodeValue, setOwnerDocument, setPrefix
 
Methods inherited from class com.japisoft.fastparser.node.SimpleNode
addChildNode, addNode, childAt, childCount, childNodeIndex, clone, getAllChild, getAttribute, getContent, getDocument, getNodeContent, getSimpleParent, getType, getViewAttribute, getViewAttributes, getViewChildAt, getViewChildCount, getViewContent, hasAttribute, insertChildNode, isComment, isLeaf, isRoot, isTag, isText, isViewComment, isViewLeaf, isViewText, removeChildNode, setAttribute, setContent, setDocument, setNodeAttribute, setNodeContent, setNodeParent, setSimpleParent, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, 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
 

Constructor Detail

DocumentTypeImpl

public DocumentTypeImpl()
Method Detail

getName

public java.lang.String getName()
The name of DTD; i.e., the name immediately following the DOCTYPE keyword.

Specified by:
getName in interface org.w3c.dom.DocumentType

getEntities

public org.w3c.dom.NamedNodeMap getEntities()
A NamedNodeMap containing the general entities, both external and internal, declared in the DTD. Duplicates are discarded. For example in:<!DOCTYPE ex SYSTEM "ex.dtd" [ <!ENTITY foo "foo"> <!ENTITY bar "bar"> <!ENTITY % baz "baz">]> <ex/> the interface provides access to foo and bar but not baz. Every node in this map also implements the Entity interface.
The DOM Level 1 does not support editing entities, therefore entities cannot be altered in any way.

Specified by:
getEntities in interface org.w3c.dom.DocumentType

getNotations

public org.w3c.dom.NamedNodeMap getNotations()
A NamedNodeMap containing the notations declared in the DTD. Duplicates are discarded. Every node in this map also implements the Notation interface.
The DOM Level 1 does not support editing notations, therefore notations cannot be altered in any way.

Specified by:
getNotations in interface org.w3c.dom.DocumentType

getPublicId

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

getSystemId

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

getInternalSubset

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