text
Returns the text content of the current event as String.
The value returned depends on current event type, for example for TEXT event it is element content (this is typical case when next() is used).
See description of nextToken() for detailed description of possible returned values for different types of events.
NOTE: in case of ENTITY_REF, this method returns the entity replacement text (or null if not available). This is the only case where text and getTextCharacters() return different values.