public class EventAnnotationStripper extends Object implements EventIterator
Constructor and Description |
---|
EventAnnotationStripper(EventIterator base)
Create an EventAnnotationStripper
|
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 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
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.