net.sf.saxon.expr
Class EveryItemMappingIterator
java.lang.Object
net.sf.saxon.expr.EveryItemMappingIterator
- SequenceIterator
public final class EveryItemMappingIterator
extends java.lang.Object
EveryItemMappingIterator applies a mapping function to each item in a sequence.
The mapping function always returns a single item (never null)
This is a specialization of the more general MappingIterator class, for use
in cases where a single input item always maps to exactly one output item
EveryItemMappingIterator
public EveryItemMappingIterator(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