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 and Description |
---|
DocumentEventIgnorer(PullProvider base) |
Modifier and Type | Method and Description |
---|---|
int |
next()
Get the next event.
|
close, current, getAtomicValue, getAttributes, getFingerprint, getNameCode, getNamePool, getNamespaceDeclarations, getPipelineConfiguration, getSchemaType, getSourceLocator, getStringValue, 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
- if a dynamic error occursCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.