public class DocumentEventIgnorer extends PullFilter
currentEventATOMIC_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, skipToMatchingEndpublic 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 PullProvidernext in class PullFilterPullProvider.END_OF_INPUT is returned at the end of the sequence.XPathException - if a dynamic error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.