XmlPullParser.getNamespaceUri(int pos)
Return namespace URIs for position pos in namespace stack
If pos is out of range it throw exception.

java.lang.String

XmlPullParser.getNamespace(java.lang.String prefix)
Return uri for the given prefix.

boolean

XmlPullParser.isWhitespace()
Check if current TEXT event contains only whitespace characters.

boolean

XmlPullParser.isEmptyElementTag()
Returns true if the current event is START_TAG and the tag is degenerated
(e.g.

int

XmlPullParser.getEventType()
Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)

int

XmlPullParser.next()
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

XmlPullParser.nextToken()
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

XmlPullParser.require(int type,
java.lang.String namespace,
java.lang.String name)
test if the current event is of the given type and if the
namespace and name do match.

java.lang.String

XmlPullParser.readText()
If the current event is text, the value of getText is
returned and next() is called.