net.sf.saxon.pull
public class ElementNameTracker extends PullFilter
Field Summary | |
---|---|
int | elementJustEnded |
int | used |
Constructor Summary | |
---|---|
ElementNameTracker(PullProvider base) |
Method Summary | |
---|---|
int | getNameCode()
Get the nameCode identifying the name of the current node. |
int | next()
Get the next event.
|
Returns: the nameCode. The nameCode can be used to obtain the prefix, local name, and namespace URI from the name pool.
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().
Returns: an integer code indicating the type of event. The code ElementNameTracker is returned at the end of the sequence.