List of utility methods to do XmlPullParser Read
Object | readThisValueXml(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; ... |
Object | readThisValueXml(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; ... |
Object | readThisValueXml(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; ... |
Object | readThisValueXml(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; ... |
Object | readThisValueXml(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; ... |
Object | readThisValueXml(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; ... |
Object | readThisValueXml(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; ... |
Uri | readUriAttribute(XmlPullParser in, String name) read Uri Attribute final String value = in.getAttributeValue(null, name); return (value != null) ? Uri.parse(value) : null; |
Object | readValueXml(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) { ... |
Object | readValueXml(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) { ... |