public static final void writeMapXml(Map val,String name,XmlSerializer out,WriteMapCallback callback) throws XmlPullParserException, java.io.IOException {
  if (val == null) {
    out.startTag(null,"null");
    out.endTag(null,"null");
    return;
  }
  out.startTag(null,"map");
  if (name != null) {
    out.attribute(null,"name",name);
  }
  writeMapXml(val,out,callback);
  out.endTag(null,"map");
}

public static final void writeMapXml ( Map val , String name , XmlSerializer out , WriteMapCallback callback ) throws XmlPullParserException , java . io . IOException { if ( val == null ) { out . startTag ( null , "null" ) ; out . endTag ( null , "null" ) ; return ; } out . startTag ( null , "map" ) ; if ( name != null ) { out . attribute ( null , "name" , name ) ; } writeMapXml ( val , out , callback ) ; out . endTag ( null , "map" ) ; }
flatten a map into an xmlserializer . the map can later be read back with readthismapxml ( ) .
