List of utility methods to do XmlPullParser Read
int[] | readThisIntArrayXml(XmlPullParser parser, String endTag, String[] name) Read an int[] object from an XmlPullParser. int num; try { num = Integer.parseInt(parser.getAttributeValue(null, "num")); } catch (NullPointerException e) { throw new XmlPullParserException( "Need num attribute in byte-array"); } catch (NumberFormatException e) { throw new XmlPullParserException( ... |
int[] | readThisIntArrayXml(XmlPullParser parser, String endTag, String[] name) Read an int[] object from an XmlPullParser. int num; try { num = Integer.parseInt(parser.getAttributeValue(null, "num")); } catch (NullPointerException e) { throw new XmlPullParserException( "Need num attribute in byte-array"); } catch (NumberFormatException e) { throw new XmlPullParserException( ... |
ArrayList> | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList<Object> list = new ArrayList<Object>(); int eventType = parser.getEventType(); do { if (eventType == XmlPullParser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == XmlPullParser.END_TAG) { if (parser.getName().equals(endTag)) { ... |
ArrayList | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList list = new ArrayList(); int eventType = parser.getEventType(); do { if (eventType == parser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == parser.END_TAG) { if (parser.getName().equals(endTag)) { ... |
ArrayList | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList list = new ArrayList(); int eventType = parser.getEventType(); do { if (eventType == parser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == parser.END_TAG) { if (parser.getName().equals(endTag)) { ... |
ArrayList | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList list = new ArrayList(); int eventType = parser.getEventType(); do { if (eventType == parser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == parser.END_TAG) { if (parser.getName().equals(endTag)) { ... |
ArrayList | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList list = new ArrayList(); int eventType = parser.getEventType(); do { if (eventType == parser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == parser.END_TAG) { if (parser.getName().equals(endTag)) { ... |
ArrayList | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList list = new ArrayList(); int eventType = parser.getEventType(); do { if (eventType == parser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == parser.END_TAG) { if (parser.getName().equals(endTag)) { ... |
ArrayList | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList list = new ArrayList(); int eventType = parser.getEventType(); do { if (eventType == parser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == parser.END_TAG) { if (parser.getName().equals(endTag)) { ... |
ArrayList | readThisListXml(XmlPullParser parser, String endTag, String[] name) Read an ArrayList object from an XmlPullParser. ArrayList list = new ArrayList(); int eventType = parser.getEventType(); do { if (eventType == parser.START_TAG) { Object val = readThisValueXml(parser, name); list.add(val); } else if (eventType == parser.END_TAG) { if (parser.getName().equals(endTag)) { ... |