void
int
Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)
int
Returns the numbers of elements in the namespace stack for the given
depth.
Returns the namespace prefixe for the given position
in the namespace stack.
Returns the namespace URI for the given position in the
namespace stack
If the position is out of range, an exception is thrown.
boolean
Returns true if the current event is START_TAG and the tag
is degenerated
(e.g.
boolean
Checks whether the current TEXT event contains only whitespace
characters.
Create a new instance of a PullParserFactory that can be used
to create XML pull parsers (see class description for more
details).
Creates a new instance of a XML Pull Parser
using the currently configured factory features.
Creates a new instance of a XML Serializer.
int
Get next parsing event - element content wil be coalesced and only one
TEXT event must be returned for whole element content
(comments and processing instructions will be ignored and emtity references
must be expanded or exception mus be thrown if entity reerence can not be exapnded).
int
Call next() and return event if it is START_TAG or END_TAG
otherwise throw an exception.
If current event is START_TAG then if next element is TEXT then element content is returned
or if next event is END_TAG then empty string is returned, otherwise exception is thrown.
int
This method works similarly to next() but will expose
additional event types (COMMENT, CDSECT, DOCDECL, ENTITY_REF, PROCESSING_INSTRUCTION, or
IGNORABLE_WHITESPACE) if they are available in input.
void
Test if the current event is of the given type and if the
namespace and name do match.
void
Use this call to change the general behaviour of the parser,
such as namespace processing or doctype declaration handling.
void
Set the features to be set when XML Pull Parser is created by this factory.
void
Sets the input stream the parser is going to process.
void
Set the input source for parser to the given reader and
resets the parser.
void
Set the value of a property.