| org.apache.commons.jexl.JexlContext
All known Subclasses: org.apache.commons.jexl.context.HashMapContext,
JexlContext | public interface JexlContext (Code) | | Holds a Map of variables which are referenced in a JEXL expression.
since: 1.0 author: Geir Magnusson Jr. version: $Id: JexlContext.java 397092 2006-04-26 05:11:28Z dion $ |
Method Summary | |
Map | getVars() Retrives the Map of variables associated with this JexlContext. | void | setVars(Map vars) Replaces variables in a JexlContext with the variables contained
in the supplied Map. |
getVars | Map getVars()(Code) | | Retrives the Map of variables associated with this JexlContext. The
keys of this map correspond to variable names referenced in a
JEXL expression.
A reference to the variable Map associated with this JexlContext. |
setVars | void setVars(Map vars)(Code) | | Replaces variables in a JexlContext with the variables contained
in the supplied Map. When setVars() is called on a JexlContext,
it clears the current Map and puts each entry of the
supplied Map into the current variable Map.
Parameters: vars - Contents of vars will be replaced with the content of this Map |
|
|