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
-
Field Summary
Fields inherited from class VirtualCopy.VirtualCopier
base, subtreeRootFields inherited from interface SequenceIterator
GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD -
Constructor Summary
ConstructorsConstructorDescriptionVirtualUntypedCopier(AxisIterator base, VirtualCopy parent, NodeInfo subtreeRoot) -
Method Summary
Modifier and TypeMethodDescriptionprotected VirtualCopycreateCopy(NodeInfo node, NodeInfo root) Method to create the virtual copy of a node encountered when navigating.Get another iterator over the same sequence of items, positioned at the start of the sequenceMethods inherited from class VirtualCopy.VirtualCopier
atomize, close, current, getProperties, getStringValue, iterateAxis, moveNext, next, position
-
Constructor Details
-
VirtualUntypedCopier
-
-
Method Details
-
createCopy
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:
createCopyin classVirtualCopy.VirtualCopier- Parameters:
node- the node to be copiedroot- the root of the tree- Returns:
- the virtual copy
-
getAnother
Get another iterator over the same sequence of items, positioned at the start of the sequence- Specified by:
getAnotherin interfaceAxisIterator- Specified by:
getAnotherin interfaceSequenceIterator- Specified by:
getAnotherin interfaceUnfailingIterator- Overrides:
getAnotherin classVirtualCopy.VirtualCopier- Returns:
- a new iterator over the same sequence
-