| Constructor and Description |
|---|
MapOutput() |
| Modifier and Type | Method and Description |
|---|---|
String |
add(Object value)
Add an object with a auto generated key.
|
Object |
getValue(String name)
Gets an output value by name.
|
boolean |
has(String key)
Check if the output has this key.
|
boolean |
isEmpty()
Returns true is this output has no values.
|
Iterator<String> |
keys()
Gets an iterator with the names of each output value.
|
void |
removeValue(String name)
Removes an output value by name.
|
void |
setObject(Object bean)
Sets the properties of the given bean in the action output, in other words,
extract all attributes from the given object and place them in the action
output.
|
void |
setObject(Object bean,
String prefix)
Sets the properties of the given bean in the action output, in other words,
extract all attributes from the given object and place them in the action
output.
|
void |
setValue(String name,
Object value)
Sets an output value by name.
|
public void setValue(String name, Object value)
Outputpublic String add(Object value)
Outputpublic Object getValue(String name)
Outputpublic void removeValue(String name)
OutputremoveValue in interface Outputname - The name of the valuepublic boolean isEmpty()
Outputpublic void setObject(Object bean)
Outputpublic void setObject(Object bean, String prefix)
Outputpublic Iterator<String> keys()
OutputCopyright © 2015. All Rights Reserved.