public class RebasedNode extends AbstractVirtualNode implements WrappingFunction
docWrapper, node, parentIS_DTD_TYPE, IS_NILLED| Modifier | Constructor and Description |
|---|---|
protected |
RebasedNode() |
protected |
RebasedNode(NodeInfo node,
RebasedNode parent)
This constructor is protected: nodes should be created using the makeWrapper
factory method
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareOrder(NodeInfo other)
Determine the relative position of this node and another node, in document order.
|
boolean |
equals(java.lang.Object other)
Determine whether this is the same node as another node.
|
java.lang.String |
getBaseURI()
Get the Base URI for the node, that is, the URI used for resolving a relative URI contained
in the node.
|
NodeInfo |
getParent()
Get the NodeInfo object representing the parent of this node
|
java.lang.String |
getSystemId()
Get the System ID for the node.
|
AxisIterator |
iterateAxis(byte axisNumber)
Return an iteration over the nodes reached by the given axis from this node
|
static RebasedNode |
makeWrapper(NodeInfo node,
RebasedDocument docWrapper,
RebasedNode parent)
Factory method to wrap a node with a wrapper that implements the Saxon
NodeInfo interface.
|
RebasedNode |
makeWrapper(NodeInfo node,
VirtualNode parent)
Factory method to wrap a node with a VirtualNode
|
atomize, generateId, getAttributeValue, getColumnNumber, getDeclaredNamespaces, getDisplayName, getFingerprint, getLineNumber, getLocalPart, getNodeKind, getPrefix, getRealNode, getRoot, getSchemaType, getStringValue, getStringValueCS, getTreeInfo, getUnderlyingNode, getURI, hasChildNodes, hasFingerprint, hashCode, isId, isIdref, isNilled, iterateAxis, saveLocation, setSystemIdclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcopy, getConfiguration, getGenre, getPublicId, isSameNodeInfo, isStreamed, toShortStringgetLength, head, itemAt, iterate, iterator, reduce, subsequence, toGroundedValueasIterable, effectiveBooleanValue, materializemakeRepeatableprotected RebasedNode()
protected RebasedNode(NodeInfo node, RebasedNode parent)
node - The node to be wrappedparent - The RebasedNode that wraps the parent of this nodepublic static RebasedNode makeWrapper(NodeInfo node, RebasedDocument docWrapper, RebasedNode parent)
node - The underlying nodedocWrapper - The wrapper for the document node (must be supplied)parent - The wrapper for the parent of the node (null if unknown)public RebasedNode makeWrapper(NodeInfo node, VirtualNode parent)
makeWrapper in interface WrappingFunctionnode - The underlying nodeparent - The wrapper for the parent of the node (null if unknown)public java.lang.String getBaseURI()
getBaseURI in interface NodeInfogetBaseURI in class AbstractVirtualNodepublic java.lang.String getSystemId()
getSystemId in interface javax.xml.transform.SourcegetSystemId in interface javax.xml.transform.SourceLocatorgetSystemId in interface LocationgetSystemId in interface NodeInfogetSystemId in interface org.xml.sax.LocatorgetSystemId in class AbstractVirtualNodepublic boolean equals(java.lang.Object other)
Note: a.isSameNode(b) if and only if generateId(a)==generateId(b)
equals in interface NodeInfoequals in class AbstractVirtualNodeother - the node to be compared with this nodepublic int compareOrder(NodeInfo other)
compareOrder in interface NodeInfocompareOrder in class AbstractVirtualNodeother - The other node, whose position is to be compared with this nodepublic NodeInfo getParent()
public AxisIterator iterateAxis(byte axisNumber)
iterateAxis in interface NodeInfoaxisNumber - the axis to be usedAxisInfoCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.