public class MapValue extends Object implements Value
Modifier | Constructor and Description |
---|---|
protected |
MapValue()
Creates new instance.
|
|
MapValue(Map<?,?> items)
Creates new instance from the given map.
|
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
void |
beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
boolean |
equals(Object obj) |
Object |
get(Object key) |
String |
getId()
Returns the id of this value, if any.
|
Value |
getParent()
Returns the parent of this value.
|
MapType |
getType()
Returns map type.
|
int |
hashCode() |
boolean |
isEmpty() |
Set<Object> |
keySet() |
int |
size() |
MapHolder |
toObject()
Converts this value to an appropriate object.
|
String |
toString() |
Collection<Object> |
values() |
protected MapValue()
public MapValue(Map<?,?> items)
items
- public MapType getType()
public String getId()
Value
public Value getParent()
Value
public MapHolder toObject()
Value
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public boolean isEmpty()
public int size()
public Collection<Object> values()
public void beforeUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
unmarshaller
- parent
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.