|Modifier and Type||Method and Description|
Get the node name identifying the name of the current node.
Get the next event.
close, current, getAtomicValue, getAttributes, getNamePool, getNamespaceDeclarations, getPipelineConfiguration, getSchemaType, getSourceLocator, getStringValue, getUnderlyingProvider, getUnparsedEntities, setPipelineConfiguration, skipToMatchingEnd
public ElementNameTracker(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().
public NodeName getNodeName()
PullProvider.NAMESPACEevents. With some PullProvider implementations, including this one, it can also be used after
PullProvider.END_ELEMENT: in fact, that is the main purpose of this class. If called at other times, the result is undefined and may result in an IllegalStateException. If called when the current node is an unnamed namespace node (a node representing the default namespace) the returned value is -1.
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.