List of utility methods to do XmlPullParser Read
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( ... |
HashMap | readThisMapXml( 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 { ... |
HashMap | readThisMapXml(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 { ... |
HashMap | readThisMapXml(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 { ... |
HashMap | readThisMapXml(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 { ... |
HashMap | readThisMapXml(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 { ... |
HashMap | readThisMapXml(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 { ... |
HashMap | readThisMapXml(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 { ... |
HashMap | readThisMapXml(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 { ... |