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

long[]readThisLongArrayXml(XmlPullParser parser, String endTag, String[] name)
Read a long[] object from an XmlPullParser.
int num;
try {
    num = Integer.parseInt(parser.getAttributeValue(null, "num"));
} catch (NullPointerException e) {
    throw new XmlPullParserException(
            "Need num attribute in long-array");
} catch (NumberFormatException e) {
    throw new XmlPullParserException(
...
long[]readThisLongArrayXml(XmlPullParser parser, String endTag, String[] name)
Read a long[] object from an XmlPullParser.
int num;
try {
    num = Integer.parseInt(parser.getAttributeValue(null, "num"));
} catch (NullPointerException e) {
    throw new XmlPullParserException(
            "Need num attribute in long-array");
} catch (NumberFormatException e) {
    throw new XmlPullParserException(
...
HashMapreadThisMapXml( XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap<String, Object> map = new HashMap<String, Object>();
int eventType = parser.getEventType();
do {
    if (eventType == XmlPullParser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...
HashMapreadThisMapXml(XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap map = new HashMap();
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...
HashMapreadThisMapXml(XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap map = new HashMap();
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...
HashMapreadThisMapXml(XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap map = new HashMap();
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...
HashMapreadThisMapXml(XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap map = new HashMap();
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...
HashMapreadThisMapXml(XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap map = new HashMap();
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...
HashMapreadThisMapXml(XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap map = new HashMap();
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...
HashMapreadThisMapXml(XmlPullParser parser, String endTag, String[] name)
Read a HashMap object from an XmlPullParser.
HashMap map = new HashMap();
int eventType = parser.getEventType();
do {
    if (eventType == parser.START_TAG) {
        Object val = readThisValueXml(parser, name);
        if (name[0] != null) {
            map.put(name[0], val);
        } else {
...