Class StringContentMap
- java.lang.Object
-
- org.kie.server.api.marshalling.json.StringContentMap
-
- All Implemented Interfaces:
Map<String,Object>
,StringContent
public class StringContentMap extends Object implements Map<String,Object>, StringContent
-
-
Constructor Summary
Constructors Constructor Description StringContentMap()
StringContentMap(String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set<Map.Entry<String,Object>>
entrySet()
Object
get(Object key)
String
getContent()
boolean
isEmpty()
Set<String>
keySet()
Object
put(String key, Object value)
void
putAll(Map<? extends String,? extends Object> m)
Object
remove(Object key)
void
setContent(String content)
int
size()
String
toString()
Collection<Object>
values()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
StringContentMap
public StringContentMap()
-
StringContentMap
public StringContentMap(String content)
-
-
Method Detail
-
getContent
public String getContent()
- Specified by:
getContent
in interfaceStringContent
-
setContent
public void setContent(String content)
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<String,Object>
-
-