PullProvider
public class DocumentEventIgnorer extends PullFilter
currentEvent
ATOMIC_VALUE, ATTRIBUTE, COMMENT, END_DOCUMENT, END_ELEMENT, END_OF_INPUT, NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_ELEMENT, START_OF_INPUT, TEXT
Constructor | Description |
---|---|
DocumentEventIgnorer(PullProvider base) |
Modifier and Type | Method | Description |
---|---|---|
int |
next() |
Get the next event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, current, getAtomicValue, getAttributes, getFingerprint, getNameCode, getNamePool, getNamespaceDeclarations, getPipelineConfiguration, getSourceLocator, getStringValue, getTypeAnnotation, getUnderlyingProvider, getUnparsedEntities, setPipelineConfiguration, skipToMatchingEnd
public DocumentEventIgnorer(PullProvider base)
public int next() throws XPathException
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 class PullFilter
PullProvider.END_OF_INPUT
is returned at the end of the sequence.XPathException