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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualUntypedCopy.VirtualUntypedCopier
public VirtualUntypedCopy.VirtualUntypedCopier(AxisIterator base,
VirtualCopy parent,
NodeInfo subtreeRoot)
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 class VirtualCopy.VirtualCopier
- Parameters:
node
- the node to be copiedroot
- the root of the tree
- Returns:
- the virtual copy
getAnother
public SequenceIterator getAnother()
- Get another iterator over the same sequence of items, positioned at the
start of the sequence
- Specified by:
getAnother
in interface SequenceIterator
- Specified by:
getAnother
in interface UnfailingIterator
- Overrides:
getAnother
in class VirtualCopy.VirtualCopier
- Returns:
- a new iterator over the same sequence
Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.