javax.xml.transform.Source, PullEvent, DocumentInfo, Item, NodeInfo, ValueRepresentationpublic class UnconstructedDocument extends UnconstructedParent implements DocumentInfo
ALL_NAMESPACES, EMPTY_NAMESPACE_LIST, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACESinstruction, node, savedXPathContextEMPTY_VALUE_ARRAY| Constructor | Description |
|---|---|
UnconstructedDocument(DocumentInstr instruction,
XPathContext context) |
Create an unconstructed (pending) document node
|
| Modifier and Type | Method | Description |
|---|---|---|
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
|
getStringValueCS, getTypedValueatomize, compareOrder, copy, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDocumentNumber, getLineNumber, getNamePool, getParent, getRoot, getStringValue, getSystemId, getTypeAnnotation, hasChildNodes, hashCode, isId, isIdref, isNilled, isSameNodeInfo, iterateAxis, iterateAxisclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitatomize, 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, setSystemIdpublic UnconstructedDocument(DocumentInstr instruction, XPathContext context)
instruction - the instruction responsible for creating the nodecontext - the XPath dynamic contextpublic 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 DocumentInfo getDocumentRoot()
getDocumentRoot in interface NodeInfogetDocumentRoot in class UnconstructedParentpublic NodeInfo selectID(java.lang.String id)
selectID in interface DocumentInfoid - the required ID valuepublic java.util.Iterator getUnparsedEntityNames()
getUnparsedEntityNames in interface DocumentInfopublic java.lang.String[] getUnparsedEntity(java.lang.String name)
getUnparsedEntity in interface DocumentInfoname - the name of the entity