/** * Creates a new style map and assigns values from the XmlPullParser parser and stores it into the * container. */ private static void setContainerStyleMap( XmlPullParser parser, HashMap<String, String> containerStyleMap) throws XmlPullParserException, IOException { containerStyleMap.putAll(KmlStyleParser.createStyleMap(parser)); }