net.sf.saxon.pull
Class ElementNameTracker
- PullProvider
public class ElementNameTracker
This is a filter that can be added to a pull pipeline to remember element names so that
they are available immediately after the END_ELEMENT event is notified
ATOMIC_VALUE , ATTRIBUTE , COMMENT , END_DOCUMENT , END_ELEMENT , END_OF_INPUT , NAMESPACE , PROCESSING_INSTRUCTION , START_DOCUMENT , START_ELEMENT , START_OF_INPUT , TEXT |
int | getNameCode() - Get the nameCode identifying the name of the current node.
|
int | next() - Get the next event.
|
close , current , getAtomicValue , getAttributes , getFingerprint , getNameCode , getNamePool , getNamespaceDeclarations , getPipelineConfiguration , getSourceLocator , getStringValue , getTypeAnnotation , getUnderlyingProvider , getUnparsedEntities , next , setPipelineConfiguration , skipToMatchingEnd |
ElementNameTracker
public ElementNameTracker(PullProvider base)
next
public int next()
throws XPathException
Get the next event.
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 interface PullFilter