java.lang.Object
com.port80.html.tidy.DOMNodeImpl
com.port80.html.tidy.DOMDocumentTypeImpl
- All Implemented Interfaces:
- org.w3c.dom.DocumentType, org.w3c.dom.Node
- public class DOMDocumentTypeImpl
- extends DOMNodeImpl
- implements org.w3c.dom.DocumentType
DOMDocumentTypeImpl
(c) 1998-2000 (W3C) MIT, INRIA, Keio University
See Tidy.java for the copyright notice.
Derived from
HTML Tidy Release 4 Aug 2000
- Version:
- 1.7, 1999/12/06 Tidy Release 30 Nov 1999, 1.8, 2000/01/22 Tidy Release 13 Jan 2000, 1.9, 2000/06/03 Tidy Release 30 Apr 2000, 1.10, 2000/07/22 Tidy Release 8 Jul 2000, 1.11, 2000/08/16 Tidy Release 4 Aug 2000
| 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 |
| Methods inherited from class com.port80.html.tidy.DOMNodeImpl |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix, supports |
| 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, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
DOMDocumentTypeImpl
protected DOMDocumentTypeImpl(Node adaptee)
getNodeType
public short getNodeType()
- Description copied from interface:
org.w3c.dom.Node
- A code representing the type of the underlying object, as defined above.
- Specified by:
getNodeType in interface org.w3c.dom.Node- Overrides:
getNodeType in class DOMNodeImpl
getNodeName
public java.lang.String getNodeName()
- Description copied from interface:
org.w3c.dom.Node
- The name of this node, depending on its type; see the table above.
- Specified by:
getNodeName in interface org.w3c.dom.Node- Overrides:
getNodeName in class DOMNodeImpl
getName
public java.lang.String getName()
- Description copied from interface:
org.w3c.dom.DocumentType
- 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()
- Description copied from interface:
org.w3c.dom.DocumentType
- A
NamedNodeMap containing the general entities, both
external and internal, declared in the DTD. Parameter entities are
not contained. Duplicates are discarded. For example in:
<!DOCTYPE
ex SYSTEM "ex.dtd" [ <!ENTITY foo "foo"> <!ENTITY bar
"bar"> <!ENTITY bar "bar2"> <!ENTITY % baz "baz">
]> <ex/>
the interface provides access to foo
and the first declaration of bar but not the second
declaration of bar or baz. Every node in
this map also implements the Entity interface.
The DOM Level 2 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()
- Description copied from interface:
org.w3c.dom.DocumentType
- 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 2 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()
- DOM2 - not implemented.
- Specified by:
getPublicId in interface org.w3c.dom.DocumentType
getSystemId
public java.lang.String getSystemId()
- DOM2 - not implemented.
- Specified by:
getSystemId in interface org.w3c.dom.DocumentType
getInternalSubset
public java.lang.String getInternalSubset()
- DOM2 - not implemented.
- Specified by:
getInternalSubset in interface org.w3c.dom.DocumentType