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
EventIterator
next
in interface EventIterator
XPathException
- if a dynamic evaluation error occurspublic boolean isFlatSequence()
isFlatSequence
in interface EventIterator
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.