net.sf.saxon.pull
Class DocumentEventIgnorer
- PullProvider
public class DocumentEventIgnorer
This is a filter that can be added to a pull pipeline to remove START_DOCUMENT and END_DOCUMENT
events.
ATOMIC_VALUE , ATTRIBUTE , COMMENT , END_DOCUMENT , END_ELEMENT , END_OF_INPUT , NAMESPACE , PROCESSING_INSTRUCTION , START_DOCUMENT , START_ELEMENT , START_OF_INPUT , TEXT |
int | next() - Get the next event.
|
close , current , getAtomicValue , getAttributes , getFingerprint , getNameCode , getNamePool , getNamespaceDeclarations , getPipelineConfiguration , getSourceLocator , getStringValue , getTypeAnnotation , getUnderlyingProvider , getUnparsedEntities , next , setPipelineConfiguration , skipToMatchingEnd |
DocumentEventIgnorer
public DocumentEventIgnorer(PullProvider base)
next
public int next()
throws XPathException
Get the next event.
Note that a subclass that overrides this method is responsible for ensuring
that current() works properly. This can be achieved by setting the field
currentEvent to the event returned by any call on next().
- next in interface PullProvider
- next in interface PullFilter