public class DocumentInfo extends AbstractVirtualNode
Configuration.buildDocument(Source)
method to construct a tree. In earlier releases it was an interface implemented by all document
nodes; from 9.7 it is a wrapper object around the NodeInfo object that represents the actual
document nodedocWrapper, node, parentALL_NAMESPACES, IS_DTD_TYPE, IS_NILLED, LOCAL_NAMESPACES, NO_NAMESPACES| Constructor and Description |
|---|
DocumentInfo(NodeInfo node) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(Receiver out,
int copyOptions,
Location locationId)
Copy this node to a given Receiver.
|
NodeInfo |
getParent()
Get the NodeInfo object representing the parent of this node
|
AxisIterator |
iterateAxis(byte axisNumber)
Return an iteration over all the nodes reached by the given axis from this node
|
atomize, compareOrder, comparePosition, equals, generateId, getAttributeValue, getBaseURI, getColumnNumber, getConfiguration, getDeclaredNamespaces, getDisplayName, getLineNumber, getLocalPart, getNodeKind, getPrefix, getPublicId, getRealNode, getRoot, getSchemaType, getStringValue, getStringValueCS, getSystemId, getTreeInfo, getUnderlyingNode, getURI, hasChildNodes, hashCode, head, isId, isIdref, isNilled, isSameNodeInfo, iterate, iterateAxis, saveLocation, setSystemIdpublic DocumentInfo(NodeInfo node)
public void copy(Receiver out, int copyOptions, Location locationId) throws XPathException
NodeInfoout - the Receiver to which the node should be copied. It is the caller's
responsibility to ensure that this Receiver is open before the method is called
(or that it is self-opening), and that it is closed after use.copyOptions - a selection of the options defined in CopyOptionslocationId - If non-null, identifies the location of the instruction
that requested this copy. If zero, indicates that the location information
is not availableXPathException - if any downstream error occurspublic NodeInfo getParent()
NodeInfopublic AxisIterator iterateAxis(byte axisNumber)
NodeInfoaxisNumber - an integer identifying the axis; one of the constants
defined in class AxisInfoAxisInfoCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.