EventIterator
, PullEvent
public class EventAnnotationStripper extends java.lang.Object implements EventIterator
Constructor | Description |
---|---|
EventAnnotationStripper(EventIterator base) |
Create an EventAnnotationStripper
|
Modifier and Type | Method | 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 EventAnnotationStripper(EventIterator base)
base
- the stream of events whose type annotations are to be stripped (set to untyped)public PullEvent next() throws XPathException
next
in interface EventIterator
XPathException
- if a dynamic evaluation error occurspublic boolean isFlatSequence()
isFlatSequence
in interface EventIterator