net.sf.saxon.expr
Class ItemMappingIterator
java.lang.Objectnet.sf.saxon.expr.ItemMappingIterator
- SequenceIterator
public final class ItemMappingIterator
extends java.lang.Object
ItemMappingIterator applies a mapping function to each item in a sequence.
The mapping function either returns a single item, or null (representing an
empty sequence).
This is a specialization of the more general MappingIterator class, for use
in cases where a single input item never maps to a sequence of more than one
output item.
ItemMappingIterator
public ItemMappingIterator(SequenceIterator base,
ItemMappingFunction action) Construct an ItemMappingIterator that will apply a specified ItemMappingFunction to
each Item returned by the base iterator.
base - the base iteratoraction - the mapping function to be applied
getProperties
public int getProperties()
Get properties of this iterator, as a bit-significant integer.
- getProperties in interface SequenceIterator