| Get the nameCode identifying the name of the current node. This method
can be used after the
ElementNameTracker.START_ELEMENT ,
ElementNameTracker.PROCESSING_INSTRUCTION ,
ElementNameTracker.ATTRIBUTE , or
ElementNameTracker.NAMESPACE events. With some PullProvider implementations,
including this one, it can also be used after
ElementNameTracker.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.
the nameCode. The nameCode can be used to obtain the prefix, local name,and namespace URI from the name pool. |