Package com.android.internal.util
Interface XmlUtils.WriteMapCallback
-
- All Known Implementing Classes:
PersistableBundle
- Enclosing class:
- XmlUtils
public static interface XmlUtils.WriteMapCallback
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteUnknownObject(Object v, String name, XmlSerializer out)Called from writeMapXml when an Object type is not recognized.
-
-
-
Method Detail
-
writeUnknownObject
void writeUnknownObject(Object v, String name, XmlSerializer out) throws XmlPullParserException, IOException
Called from writeMapXml when an Object type is not recognized. The implementer must write out the entire element including start and end tags.- Parameters:
v- The object to be written outname- The mapping key for v. Must be written into the "name" attribute of the start tag.out- The XML output stream.- Throws:
XmlPullParserException- on unrecognized Object type.IOException- on XmlSerializer serialization errors.
-
-