public class DocumentWrappingPullProvider 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 |
---|
DocumentWrappingPullProvider(PullProvider base) |
Modifier and Type | Method and Description |
---|---|
int |
next()
Get the next event.
|
close, current, getAtomicValue, getAttributes, getNamePool, getNamespaceDeclarations, getNodeName, getPipelineConfiguration, getSchemaType, getSourceLocator, getStringValue, getUnderlyingProvider, getUnparsedEntities, setPipelineConfiguration, skipToMatchingEnd
public DocumentWrappingPullProvider(PullProvider base)
public int next() throws XPathException
PullFilter
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-2018 Saxonica Limited. All rights reserved.