public final class EventMappingIterator extends java.lang.Object implements EventIterator
EventStackIterator
?????? |
---|
EventMappingIterator(SequenceIterator base,
EventMappingFunction action)
Construct a MappingIterator that will apply a specified MappingFunction to
each Item returned by the base iterator.
|
?????? | ????? |
---|---|
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
???? EventIterator
XPathException
- if a dynamic evaluation error occurspublic boolean isFlatSequence()
isFlatSequence
???? EventIterator