Class StringMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
Object>
A Java equivalent of a JSON map.
We don't generate this class from the schema because we need the XmlJavaTypeAdapter
annotation. We tried
various ways to add the XmlJavaTypeAdapter
annotation to the schema-generated class from the separate
bindings file but none succeeded.
- Since:
- 12.10
- Version:
- $Id: 7f0e10aa1db08d0c0c9006b45e6a734c56fc608b $
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Constructor Details
-
StringMap
public StringMap()
-
-
Method Details
-
fromString
Parses the given JSON representation of a string map. -
fromMap
Converts a generic map to a string map.- Parameters:
map
- the generic map to take the entries from- Returns:
- the string map
-
toString
- Overrides:
toString
in classAbstractMap<String,
Object>
-