|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujac.util.exi.ExpressionContext
public class ExpressionContext
Name: ExpressionContext
Description: A class holding all relevant data, needed to execute expressions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
ExpressionContext()
Constructs a ExpressionContext instance with no specific attributes. |
|
ExpressionContext(ExpressionContext ctx)
Constructs a ExpressionContext instance with specific attributes. |
|
ExpressionContext(Map properties)
Constructs a ExpressionContext instance with specific attributes. |
|
ExpressionContext(Map properties,
FormatHelper formatHelper)
Constructs a ExpressionContext instance with specific attributes. |
|
ExpressionContext(Map properties,
Object bean,
FormatHelper formatHelper)
Constructs a ExpressionContext instance with specific attributes. |
|
| Method Summary | |
|---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set |
entrySet()
|
Object |
get(Object key)
|
Object |
getBean()
Getter method for the the property bean. |
FormatHelper |
getFormatHelper()
Getter method for the the property formatHelper. |
Object |
getProperty(Object name)
Gets a property from the property map. |
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map properties)
|
protected void |
readData(ObjectInputStream s)
Reads the object's data from the given stream. |
Object |
remove(Object key)
|
void |
setBean(Object bean)
Setter method for the the property bean. |
void |
setFormatHelper(FormatHelper formatHelper)
Setter method for the the property formatHelper. |
Object |
setProperty(Object name,
Object value)
Sets a property at the property map. |
int |
size()
|
Collection |
values()
|
protected void |
writeData(ObjectOutputStream s)
Writes the object's data to the given stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public ExpressionContext()
public ExpressionContext(Map properties)
properties - The properties to use for expression evaluation.
public ExpressionContext(Map properties,
FormatHelper formatHelper)
properties - The properties to use for expression evaluation.formatHelper - The format helper to use.
public ExpressionContext(Map properties,
Object bean,
FormatHelper formatHelper)
properties - The properties to use for expression evaluation.bean - The bean used to retrieve parameter values, if the
parameter value didn't exist in the localData map.formatHelper - The format helper to use.public ExpressionContext(ExpressionContext ctx)
ctx - The context to clone.| Method Detail |
|---|
public Object getProperty(Object name)
name - The property name.
public Object setProperty(Object name,
Object value)
name - The property name.value - The value to set.
public Object getBean()
public void setBean(Object bean)
bean - The value to set for the property bean.public FormatHelper getFormatHelper()
public void setFormatHelper(FormatHelper formatHelper)
formatHelper - The value to set for the property formatHelper.public int size()
size in interface MapMap.size()public boolean isEmpty()
isEmpty in interface MapMap.isEmpty()public boolean containsKey(Object key)
containsKey in interface MapMap.containsKey(java.lang.Object)public boolean containsValue(Object value)
containsValue in interface MapMap.containsValue(java.lang.Object)public Object get(Object key)
get in interface MapMap.get(java.lang.Object)
public Object put(Object key,
Object value)
put in interface MapMap.put(java.lang.Object, java.lang.Object)public Object remove(Object key)
remove in interface MapMap.remove(java.lang.Object)public void putAll(Map properties)
putAll in interface MapMap.putAll(java.util.Map)public void clear()
clear in interface MapMap.clear()public Set keySet()
keySet in interface MapMap.keySet()public Collection values()
values in interface MapMap.values()public Set entrySet()
entrySet in interface MapMap.entrySet()
protected void writeData(ObjectOutputStream s)
throws IOException
s - The stream to write to
IOException - In case the data output failed.
protected void readData(ObjectInputStream s)
throws IOException,
ClassNotFoundException
s - The stream to read from.
IOException - In case the data reading failed.
ClassNotFoundException - In case the class to deserialize could not be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||