public class UnconstructedDocument extends UnconstructedParent implements DocumentInfo
instruction, node, savedXPathContext
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES
EMPTY_VALUE_ARRAY
?????? |
---|
UnconstructedDocument(DocumentInstr instruction,
XPathContext context)
Create an unconstructed (pending) document 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.util.Iterator |
getUnparsedEntityNames()
Get the list of unparsed entities defined in this document
|
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, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getInstruction, getLineNumber, getNamePool, getParent, getPuller, getRoot, getStringValue, getStringValueCS, getSystemId, getTypeAnnotation, getTypedValue, getXPathContext, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis, setSystemId
atomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getLineNumber, getNamePool, getParent, getRoot, getStringValue, getSystemId, getTypeAnnotation, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxis
getStringValueCS, getTypedValue
public UnconstructedDocument(DocumentInstr instruction, XPathContext context)
instruction
- the instruction responsible for creating the nodecontext
- the XPath dynamic contextpublic int getNameCode()
getNameCode
???? 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
???? NodeInfo
Type
public int getFingerprint()
getFingerprint
???? NodeInfo
getFingerprint
??? UnconstructedParent
public java.lang.String getLocalPart()
getLocalPart
???? NodeInfo
getLocalPart
??? UnconstructedParent
public java.lang.String getURI()
getURI
???? NodeInfo
getURI
??? UnconstructedParent
public java.lang.String getDisplayName()
getDisplayName
???? NodeInfo
getDisplayName
??? UnconstructedParent
public java.lang.String getPrefix()
getPrefix
???? NodeInfo
getPrefix
??? UnconstructedParent
public DocumentInfo getDocumentRoot()
getDocumentRoot
???? NodeInfo
getDocumentRoot
??? UnconstructedParent
public NodeInfo selectID(java.lang.String id)
selectID
???? DocumentInfo
id
- the required ID valuepublic java.util.Iterator getUnparsedEntityNames()
getUnparsedEntityNames
???? DocumentInfo
public java.lang.String[] getUnparsedEntity(java.lang.String name)
getUnparsedEntity
???? DocumentInfo
name
- the name of the entity