public class DocumentWrappingPullProvider 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 |
|---|
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, skipToMatchingEndpublic DocumentWrappingPullProvider(PullProvider base)
public int next()
throws XPathException
PullFilterNote 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-2020 Saxonica Limited. All rights reserved.