|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.w3c.tidy.DOMNodeImpl
org.w3c.tidy.DOMDocumentTypeImpl
public class DOMDocumentTypeImpl
DOMDocumentTypeImpl (c) 1998-2000 (W3C) MIT, INRIA, Keio University See Tidy.java for the copyright notice. Derived from HTML Tidy Release 4 Aug 2000
Field Summary |
---|
Fields inherited from class org.w3c.tidy.DOMNodeImpl |
---|
adaptee |
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 | |
---|---|
protected |
DOMDocumentTypeImpl(Node adaptee)
|
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()
DOM2 - not implemented. |
java.lang.String |
getName()
The name of DTD; i.e., the name immediately following the DOCTYPE keyword. |
java.lang.String |
getNodeName()
The name of this node, depending on its type; see the table above. |
short |
getNodeType()
A code representing the type of the underlying object, as defined above. |
org.w3c.dom.NamedNodeMap |
getNotations()
A NamedNodeMap containing the notations declared in the
DTD. |
java.lang.String |
getPublicId()
DOM2 - not implemented. |
java.lang.String |
getSystemId()
DOM2 - not implemented. |
Methods inherited from class org.w3c.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, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Constructor Detail |
---|
protected DOMDocumentTypeImpl(Node adaptee)
Method Detail |
---|
public short getNodeType()
org.w3c.dom.Node
getNodeType
in interface org.w3c.dom.Node
getNodeType
in class DOMNodeImpl
Node.getNodeType()
public java.lang.String getNodeName()
org.w3c.dom.Node
getNodeName
in interface org.w3c.dom.Node
getNodeName
in class DOMNodeImpl
Node.getNodeName()
public java.lang.String getName()
org.w3c.dom.DocumentType
DOCTYPE
keyword.
getName
in interface org.w3c.dom.DocumentType
DocumentType.getName()
public org.w3c.dom.NamedNodeMap getEntities()
org.w3c.dom.DocumentType
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.
entities
cannot be altered in any way.
getEntities
in interface org.w3c.dom.DocumentType
public org.w3c.dom.NamedNodeMap getNotations()
org.w3c.dom.DocumentType
NamedNodeMap
containing the notations declared in the
DTD. Duplicates are discarded. Every node in this map also implements
the Notation
interface.
notations
cannot be altered in any way.
getNotations
in interface org.w3c.dom.DocumentType
public java.lang.String getPublicId()
getPublicId
in interface org.w3c.dom.DocumentType
public java.lang.String getSystemId()
getSystemId
in interface org.w3c.dom.DocumentType
public java.lang.String getInternalSubset()
getInternalSubset
in interface org.w3c.dom.DocumentType
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |