public class UnconstructedDocument extends UnconstructedParent implements DocumentInfo
instruction, node, savedXPathContextALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACESEMPTY_VALUE_ARRAY| Constructor and Description |
|---|
UnconstructedDocument(DocumentInstr instruction,
XPathContext context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseURI()
Get the Base URI for the node, that is, the URI used for resolving a relative URI contained
in the node.
|
java.lang.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.
|
java.lang.String |
getLocalPart()
Get the local part of the name of this node.
|
int |
getNameCode()
Get name code.
|
int |
getNodeKind()
Get the kind of node.
|
java.lang.String |
getPrefix()
Get the prefix of the name of the node.
|
java.lang.String[] |
getUnparsedEntity(java.lang.String name)
Get the unparsed entity with a given name
|
java.lang.String |
getURI()
Get the URI part of the name of this node.
|
NodeInfo |
selectID(java.lang.String id)
Get the element with a given ID, if any
|
atomize, compareOrder, construct, copy, equals, generateId, getAttributeValue, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getInstruction, getLineNumber, getNamePool, getParent, getPuller, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getXPathContext, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, sendNamespaceDeclarations, setSystemId, tryToConstructclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitatomize, compareOrder, copy, equals, generateId, getAttributeValue, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getLineNumber, getNamePool, getParent, getRoot, getStringValue, getSystemId, getTypeAnnotation, hasChildNodes, hashCode, isSameNodeInfo, iterateAxis, iterateAxis, sendNamespaceDeclarationsgetStringValueCS, getTypedValuepublic UnconstructedDocument(DocumentInstr instruction, XPathContext context)
public int getNameCode()
getNameCode in interface NodeInfoallocate,
getFingerprintpublic int getNodeKind()
NodeInfoType.ELEMENT
or Type.ATTRIBUTE. There are seven kinds of node: documents, elements, attributes,
text, comments, processing-instructions, and namespaces.getNodeKind in interface NodeInfoTypepublic int getFingerprint()
getFingerprint in interface NodeInfogetFingerprint in class UnconstructedParentpublic java.lang.String getLocalPart()
getLocalPart in interface NodeInfogetLocalPart in class UnconstructedParentpublic java.lang.String getURI()
getURI in interface NodeInfogetURI in class UnconstructedParentpublic java.lang.String getDisplayName()
getDisplayName in interface NodeInfogetDisplayName in class UnconstructedParentpublic java.lang.String getPrefix()
getPrefix in interface NodeInfogetPrefix in class UnconstructedParentpublic java.lang.String getBaseURI()
UnconstructedParentgetBaseURI in interface NodeInfogetBaseURI in class UnconstructedParentpublic DocumentInfo getDocumentRoot()
getDocumentRoot in interface NodeInfogetDocumentRoot in class UnconstructedParentpublic NodeInfo selectID(java.lang.String id)
selectID in interface DocumentInfoid - the required ID valuepublic java.lang.String[] getUnparsedEntity(java.lang.String name)
getUnparsedEntity in interface DocumentInfoname - the name of the entity