protected static class XmlReader.AttributeMap extends HashMap<String,String>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
AttributeMap() |
Modifier and Type | Method and Description |
---|---|
static XmlReader.AttributeMap |
getInstance() |
void |
setValues(org.kxml2.io.KXmlParser xmlParser)
Puts values in an
AttributeMap by extracting attributes from the xmlParser . |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static XmlReader.AttributeMap getInstance()
public void setValues(org.kxml2.io.KXmlParser xmlParser)
AttributeMap
by extracting attributes from the xmlParser
.xmlParser
- xmlParser
to extract attributes from. The parser must be
in XmlPullParser.START_TAG
state.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.