Package com.android.internal.util
Interface XmlUtils.ReadMapCallback
-
- Enclosing class:
- XmlUtils
public static interface XmlUtils.ReadMapCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectreadThisUnknownObjectXml(XmlPullParser in, String tag)Called from readThisMapXml when a START_TAG is not recognized.
-
-
-
Method Detail
-
readThisUnknownObjectXml
Object readThisUnknownObjectXml(XmlPullParser in, String tag) throws XmlPullParserException, IOException
Called from readThisMapXml when a START_TAG is not recognized. The input stream is positioned within the start tag so that attributes can be read using in.getAttribute.- Parameters:
in- the XML input streamtag- the START_TAG that was not recognized.- Returns:
- the Object parsed from the stream which will be put into the map.
- Throws:
XmlPullParserException- if the START_TAG is not recognized.IOException- on XmlPullParser serialization errors.
-
-