public static HashMap<String, ?> readThisMapXml(XmlPullParser parser, String endTag,
                                                    String[] name) throws XmlPullParserException, IOException {
        return readThisMapXml(parser, endTag, name, null);
    }
Read a HashMap object global an XmlPullParser.  The XML data could
previously have been generated by writeMapXml().  The XmlPullParser
must be positioned <em>after</em> the tag that begins the map.

@param parser The XmlPullParser global which to read the map data.
@param endTag Name of the tag that will end the map, usually "map".
@param name   An array of one string, used to return the name attribute
              of the map's tag.
@return HashMap The newly generated map.
@see #readMapXml
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/util/XmlUtils.java