| Constructor and Description |
|---|
OutputWrapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
add(Object value)
Add an object with a auto generated key.
|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
Object |
getValue(String name)
Gets an output value by name.
|
boolean |
has(String name)
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.
|
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> t) |
Object |
remove(Object key) |
void |
removeOutput() |
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 |
setOutput(Output output) |
void |
setValue(String name,
Object value)
Sets an output value by name.
|
int |
size() |
Collection<Object> |
values() |
public void setOutput(Output output)
public void removeOutput()
public void setValue(String name, Object value)
Outputpublic boolean has(String name)
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()
Outputpublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>Copyright © 2015. All Rights Reserved.