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 node
|Modifier and Type||Method and Description|
Copy this node to a given Receiver.
Get the NodeInfo object representing the parent of this node
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, getFingerprint, getLineNumber, getLocalPart, getNodeKind, getPrefix, getPublicId, getRealNode, getRoot, getSchemaType, getStringValue, getStringValueCS, getSystemId, getTreeInfo, getUnderlyingNode, getURI, hasChildNodes, hasFingerprint, hashCode, head, isId, isIdref, isNilled, isSameNodeInfo, isStreamed, iterate, iterateAxis, saveLocation, setSystemId
public DocumentInfo(NodeInfo node)
public void copy(Receiver out, int copyOptions, Location locationId) throws XPathException
out- 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
locationId- If non-null, identifies the location of the instruction that requested this copy. If zero, indicates that the location information is not available
XPathException- if any downstream error occurs
public NodeInfo getParent()
public AxisIterator iterateAxis(byte axisNumber)
axisNumber- an integer identifying the axis; one of the constants defined in class
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.