Android Utililty Methods XmlPullParser Read

List of utility methods to do XmlPullParser Read

Description

The list of methods to do XmlPullParser Read are organized into topic(s).

Method

ObjectreadThisValueXml(XmlPullParser parser, String[] name)
read This Value Xml
final String valueName = parser.getAttributeValue(null, "name");
final String tagName = parser.getName();
Object res;
if (tagName.equals("null")) {
    res = null;
} else if (tagName.equals("string")) {
    String value = "";
    int eventType;
...
ObjectreadThisValueXml(XmlPullParser parser, String[] name)
read This Value Xml
final String valueName = parser.getAttributeValue(null, "name");
final String tagName = parser.getName();
Object res;
if (tagName.equals("null")) {
    res = null;
} else if (tagName.equals("string")) {
    String value = "";
    int eventType;
...
ObjectreadThisValueXml(XmlPullParser parser, String[] name)
read This Value Xml
final String valueName = parser.getAttributeValue(null, "name");
final String tagName = parser.getName();
Object res;
if (tagName.equals("null")) {
    res = null;
} else if (tagName.equals("string")) {
    String value = "";
    int eventType;
...
ObjectreadThisValueXml(XmlPullParser parser, String[] name)
read This Value Xml
final String valueName = parser.getAttributeValue(null, "name");
final String tagName = parser.getName();
Object res;
if (tagName.equals("null")) {
    res = null;
} else if (tagName.equals("string")) {
    String value = "";
    int eventType;
...
ObjectreadThisValueXml(XmlPullParser parser, String[] name)
read This Value Xml
final String valueName = parser.getAttributeValue(null, "name");
final String tagName = parser.getName();
Object res;
if (tagName.equals("null")) {
    res = null;
} else if (tagName.equals("string")) {
    String value = "";
    int eventType;
...
ObjectreadThisValueXml(XmlPullParser parser, String[] name)
read This Value Xml
final String valueName = parser.getAttributeValue(null, "name");
final String tagName = parser.getName();
Object res;
if (tagName.equals("null")) {
    res = null;
} else if (tagName.equals("string")) {
    String value = "";
    int eventType;
...
ObjectreadThisValueXml(XmlPullParser parser, String[] name)
read This Value Xml
final String valueName = parser.getAttributeValue(null, "name");
final String tagName = parser.getName();
Object res;
if (tagName.equals("null")) {
    res = null;
} else if (tagName.equals("string")) {
    String value = "";
    int eventType;
...
UrireadUriAttribute(XmlPullParser in, String name)
read Uri Attribute
final String value = in.getAttributeValue(null, name);
return (value != null) ? Uri.parse(value) : null;
ObjectreadValueXml(XmlPullParser parser, String[] name)
Read a flattened object from an XmlPullParser.
int eventType = parser.getEventType();
do {
    if (eventType == XmlPullParser.START_TAG) {
        return readThisValueXml(parser, name);
    } else if (eventType == XmlPullParser.END_TAG) {
        throw new XmlPullParserException("Unexpected end tag at: "
                + parser.getName());
    } else if (eventType == XmlPullParser.TEXT) {
...
ObjectreadValueXml(XmlPullParser parser, String[] name)
Read a flattened object from an XmlPullParser.
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        return readThisValueXml(parser, name);
    } else if (eventType == parser.END_TAG) {
        throw new XmlPullParserException("Unexpected end tag at: "
                + parser.getName());
    } else if (eventType == parser.TEXT) {
...