List of utility methods to do XmlPullParser Move to Next
boolean | moveToElement(XmlPullParser parser, String namespaceName, String name) move To Element while (Read(parser)) { if (IsStartElement(parser, namespaceName, name)) return true; return false; |
void | next(final XmlPullParser pp) next skipSubTree(pp); pp.next(); |
DateTime | nextDateTime(XmlPullParser parser, String tag) next Date Time parser.require(XmlPullParser.START_TAG, null, tag);
DateTime value = DateTime.parse(readText(parser));
parser.require(XmlPullParser.END_TAG, null, tag);
return value;
|
String | nextDirectChildTag( XmlPullParser paramXmlPullParser, int paramInt) next Direct Child Tag int i = paramInt + 1; for (int j = paramXmlPullParser.next(); j != 1; j = paramXmlPullParser .next()) { int k = paramXmlPullParser.getDepth(); if ((j == 2) && (k == i)) return paramXmlPullParser.getName(); if ((j == 3) && (k == paramInt)) return null; ... |
Double | nextDouble(XmlPullParser parser, String tag) next Double parser.require(XmlPullParser.START_TAG, null, tag);
Double value = Double.parseDouble(readText(parser));
parser.require(XmlPullParser.END_TAG, null, tag);
return value;
|
void | nextElement(XmlPullParser parser) next Element int type; while ((type = parser.next()) != XmlPullParser.START_TAG && type != XmlPullParser.END_DOCUMENT) { ; |
void | nextElement(XmlPullParser parser) next Element int type; while ((type = parser.next()) != XmlPullParser.START_TAG && type != XmlPullParser.END_DOCUMENT) { ; |
void | nextElement(XmlPullParser parser) next Element int type; while ((type = parser.next()) != parser.START_TAG && type != parser.END_DOCUMENT) { ; |
void | nextElement(XmlPullParser parser) next Element int type; while ((type = parser.next()) != parser.START_TAG && type != parser.END_DOCUMENT) { ; |
void | nextElement(XmlPullParser parser) next Element int type; while ((type = parser.next()) != XmlPullParser.START_TAG && type != XmlPullParser.END_DOCUMENT) ; |