public final class EventMappingIterator extends Object implements EventIterator
EventStackIterator| Constructor and Description | 
|---|
EventMappingIterator(SequenceIterator base,
                    EventMappingFunction action)
Construct a MappingIterator that will apply a specified MappingFunction to
 each Item returned by the base iterator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isFlatSequence()
Determine whether the EventIterator returns a flat sequence of events, or whether it can return
 nested event iterators 
 | 
PullEvent | 
next()
Get the next event in the sequence 
 | 
public EventMappingIterator(SequenceIterator base, EventMappingFunction action)
base - the base iteratoraction - the mapping function to be appliedpublic PullEvent next() throws XPathException
EventIteratornext in interface EventIteratorXPathException - if a dynamic evaluation error occurspublic boolean isFlatSequence()
isFlatSequence in interface EventIteratorCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.