public class EntityImpl extends NodeImpl implements Entity
Some of the fields may have package visibility, so other classes belonging to the DOM implementation can easily access them while maintaining the DOM tree structure.
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
Modifier and Type | Method and Description |
---|---|
String |
getInputEncoding()
An attribute specifying the encoding used for this entity at the time
of parsing, when it is an external parsed entity.
|
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.
|
String |
getNotationName()
For unparsed entities, the name of the notation for the entity.
|
String |
getPublicId()
The public identifier associated with the entity if specified, and
null otherwise. |
String |
getSystemId()
The system identifier associated with the entity if specified, and
null otherwise. |
String |
getXmlEncoding()
An attribute specifying, as part of the text declaration, the encoding
of this entity, when it is an external parsed entity.
|
String |
getXmlVersion()
An attribute specifying, as part of the text declaration, the version
number of this entity, when it is an external parsed entity.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public String getNodeName()
Node
getNodeName
in interface Node
getNodeName
in class NodeImpl
public short getNodeType()
Node
getNodeType
in interface Node
getNodeType
in class NodeImpl
public String getNotationName()
Entity
null
.getNotationName
in interface Entity
public String getPublicId()
Entity
null
otherwise.getPublicId
in interface Entity
public String getSystemId()
Entity
null
otherwise. This may be an absolute URI or not.getSystemId
in interface Entity
public String getInputEncoding()
Entity
null
if it an entity from the internal subset or if it
is not known.getInputEncoding
in interface Entity
public String getXmlEncoding()
Entity
null
otherwise.getXmlEncoding
in interface Entity
public String getXmlVersion()
Entity
null
otherwise.getXmlVersion
in interface Entity