public class UnconstructedDocument extends UnconstructedParent implements DocumentInfo
node
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, LOCAL_NAMESPACES, NO_NAMESPACES
EMPTY_VALUE_ARRAY
Constructor and Description |
---|
UnconstructedDocument(DocumentInstr instruction,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Get the display name of this node.
|
DocumentInfo |
getDocumentRoot()
Get the root node, if it is a document node.
|
int |
getFingerprint()
Get fingerprint.
|
String |
getLocalPart()
Get the local part of the name of this node.
|
int |
getNameCode()
Get name code.
|
int |
getNodeKind()
Get the kind of node.
|
String |
getPrefix()
Get the prefix of the name of the node.
|
String[] |
getUnparsedEntity(String name)
Get the unparsed entity with a given name
|
String |
getURI()
Get the URI part of the name of this node.
|
NodeInfo |
selectID(String id)
Get the element with a given ID, if any
|
atomize, compareOrder, construct, copy, equals, generateId, getAttributeValue, getBaseURI, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getInstruction, getLineNumber, getNamePool, getParent, getPuller, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getXPathContext, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, sendNamespaceDeclarations, setSystemId, tryToConstruct
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getLineNumber, getNamePool, getParent, getRoot, getStringValue, getSystemId, getTypeAnnotation, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, sendNamespaceDeclarations
setSystemId
getStringValueCS, getTypedValue
public UnconstructedDocument(DocumentInstr instruction, XPathContext context)
public int getNameCode()
getNameCode
in interface NodeInfo
allocate
,
getFingerprint
public int getNodeKind()
NodeInfo
Type.ELEMENT
or Type.ATTRIBUTE
. There are seven kinds of node: documents, elements, attributes,
text, comments, processing-instructions, and namespaces.getNodeKind
in interface NodeInfo
Type
public int getFingerprint()
getFingerprint
in interface NodeInfo
getFingerprint
in class UnconstructedParent
public String getLocalPart()
getLocalPart
in interface NodeInfo
getLocalPart
in class UnconstructedParent
public String getURI()
getURI
in interface NodeInfo
getURI
in class UnconstructedParent
public String getDisplayName()
getDisplayName
in interface NodeInfo
getDisplayName
in class UnconstructedParent
public String getPrefix()
getPrefix
in interface NodeInfo
getPrefix
in class UnconstructedParent
public DocumentInfo getDocumentRoot()
getDocumentRoot
in interface NodeInfo
getDocumentRoot
in class UnconstructedParent
public NodeInfo selectID(String id)
selectID
in interface DocumentInfo
id
- the required ID valuepublic String[] getUnparsedEntity(String name)
getUnparsedEntity
in interface DocumentInfo
name
- the name of the entity