Package net.sf.saxon.tree.wrapper
Class VirtualUntypedCopy.VirtualUntypedCopier
- java.lang.Object
-
- net.sf.saxon.tree.wrapper.VirtualCopy.VirtualCopier
-
- net.sf.saxon.tree.wrapper.VirtualUntypedCopy.VirtualUntypedCopier
-
- All Implemented Interfaces:
SequenceIterator
,AxisIterator
,UnfailingIterator
- Enclosing class:
- VirtualUntypedCopy
protected class VirtualUntypedCopy.VirtualUntypedCopier extends VirtualCopy.VirtualCopier
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.tree.wrapper.VirtualCopy.VirtualCopier
base, subtreeRoot
-
Fields inherited from interface net.sf.saxon.om.SequenceIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
-
-
Constructor Summary
Constructors Constructor Description VirtualUntypedCopier(AxisIterator base, VirtualCopy parent, NodeInfo subtreeRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VirtualCopy
createCopy(NodeInfo node, NodeInfo root)
Method to create the virtual copy of a node encountered when navigating.AxisIterator
getAnother()
Get another iterator over the same sequence of items, positioned at the start of the sequence-
Methods inherited from class net.sf.saxon.tree.wrapper.VirtualCopy.VirtualCopier
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, next, position
-
-
-
-
Constructor Detail
-
VirtualUntypedCopier
public VirtualUntypedCopier(AxisIterator base, VirtualCopy parent, NodeInfo subtreeRoot)
-
-
Method Detail
-
createCopy
protected VirtualCopy createCopy(NodeInfo node, NodeInfo root)
Method to create the virtual copy of a node encountered when navigating. This method is separated out so that it can be overridden in a subclass.- Overrides:
createCopy
in classVirtualCopy.VirtualCopier
- Parameters:
node
- the node to be copiedroot
- the root of the tree- Returns:
- the virtual copy
-
getAnother
public AxisIterator getAnother()
Get another iterator over the same sequence of items, positioned at the start of the sequence- Specified by:
getAnother
in interfaceAxisIterator
- Specified by:
getAnother
in interfaceSequenceIterator
- Specified by:
getAnother
in interfaceUnfailingIterator
- Overrides:
getAnother
in classVirtualCopy.VirtualCopier
- Returns:
- a new iterator over the same sequence
-
-