net.sf.saxon.pull
public class UnconstructedDocument extends UnconstructedParent implements DocumentInfo
Constructor Summary | |
---|---|
UnconstructedDocument(DocumentInstr instruction, XPathContext context) |
Method Summary | |
---|---|
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() |
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
|
Returns: The display name of this node. For a node with no name, return an empty string.
Returns: the DocumentInfo representing the containing document. If this node is part of a tree that does not have a document node as its root, return null.
Returns: an integer fingerprint; two nodes with the same fingerprint have the same expanded QName
Returns: the local part of the name. For an unnamed node, returns "". Unlike the DOM interface, this returns the full name in the case of a non-namespaced name.
Returns: an integer name code, which may be used to obtain the actual node name from the name pool
See Also: allocate
getFingerprint
Returns: The prefix of the name of the node.
Parameters: name the name of the entity
Returns: if the entity exists, return an array of two Strings, the first holding the system ID of the entity, the second holding the public ID if there is one, or null if not. If the entity does not exist, the method returns null. Applications should be written on the assumption that this array may be extended in the future to provide additional information.
Since: 8.4
Returns: The URI of the namespace of this node. For an unnamed node, or for a node with an empty prefix, return an empty string.
Parameters: id the required ID value
Returns: the element with the given ID, or null if there is no such ID present (or if the parser has not notified attributes as being of type ID)
Since: 8.4