|
Xindice API version 1.2m1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xindice.xml.dom.NodeImpl
org.apache.xindice.xml.dom.DocumentTypeImpl
DocumentTypeImpl
| Field Summary |
| 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. |
String |
getInternalSubset()
The internal subset as a string.The actual content returned depends on how much information is available to the implementation. |
String |
getName()
The name of DTD; i.e., the name immediately following the DOCTYPE keyword. |
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. |
String |
getPublicId()
The public identifier of the external subset. |
String |
getSystemId()
The system identifier of the external subset. |
String |
getTextContent()
This method returns the text content of this node and its descendants. |
boolean |
isEqualNode(org.w3c.dom.Node other)
Tests whether two nodes are equal. |
| 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, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Constructor Detail |
public DocumentTypeImpl()
| Method Detail |
public short getNodeType()
NodeImpl
getNodeType in interface org.w3c.dom.NodegetNodeType in class NodeImplpublic String getName()
DOCTYPE keyword.
getName in interface org.w3c.dom.DocumentTypepublic org.w3c.dom.NamedNodeMap getEntities()
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.
entities cannot be altered in any way.
getEntities in interface org.w3c.dom.DocumentTypepublic org.w3c.dom.NamedNodeMap getNotations()
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.DocumentTypepublic String getPublicId()
getPublicId in interface org.w3c.dom.DocumentTypepublic String getSystemId()
getSystemId in interface org.w3c.dom.DocumentTypepublic String getInternalSubset()
getInternalSubset in interface org.w3c.dom.DocumentTypepublic String getTextContent()
NodeImpl| Node type | Content |
|---|---|
| ELEMENT_NODE, ATTRIBUTE_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, DOCUMENT_FRAGMENT_NODE | concatenation of the textContent attribute value of every child node, excluding COMMENT_NODE and PROCESSING_INSTRUCTION_NODE nodes. This is the empty string if the node has no children. |
| TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, PROCESSING_INSTRUCTION_NODE | nodeValue |
| DOCUMENT_NODE, DOCUMENT_TYPE_NODE, NOTATION_NODE | null |
getTextContent in class NodeImplpublic boolean isEqualNode(org.w3c.dom.Node other)
Node.isSameNode(). All nodes that are the same will also be
equal, though the reverse may not be true.
NamedNodeMaps are equal. This is: they are both null,
or they have the same length and for each node that exists in one map there
is a node that exists in the other map and is equal, although not
necessarily at the same index.NamedNodeMaps are equal.NamedNodeMaps are equal.
isEqualNode in class NodeImplother - Node to test againts
|
Xindice API version 1.2m1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||