public static interface XmlUtils.WriteMapCallback
| Modifier and Type | Method and Description |
|---|---|
void |
writeUnknownObject(Object v,
String name,
XmlSerializer out)
Called from writeMapXml when an Object type is not recognized.
|
void writeUnknownObject(Object v, String name, XmlSerializer out) throws XmlPullParserException, IOException
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.XmlPullParserException - on unrecognized Object type.IOException - on XmlSerializer serialization errors.