org.apache.beehive.netui.tags
Class ExpressionHandling
Object
ExpressionHandling
public class ExpressionHandling
- extends Object
Method Summary |
String |
ensureValidExpression(String dataSource,
String attrName,
String errorId)
Ensure that the passed in data source is a valid expression. |
Object |
evaluateExpression(String expression,
String attrName,
PageContext ctxt)
|
void |
updateExpression(String expr,
Object value,
PageContext pageContext)
This method will update the object identified by the expr parameter with
the value. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionHandling
public ExpressionHandling(INetuiTag tag)
ensureValidExpression
public String ensureValidExpression(String dataSource,
String attrName,
String errorId)
throws JspException
- Ensure that the passed in data source is a valid expression.
- Parameters:
dataSource
- attrName
- errorId
-
- Returns:
- String
- Throws:
JspException
evaluateExpression
public Object evaluateExpression(String expression,
String attrName,
PageContext ctxt)
throws JspException
- Parameters:
expression
- attrName
-
- Returns:
- Object
- Throws:
JspException
updateExpression
public void updateExpression(String expr,
Object value,
PageContext pageContext)
throws ExpressionUpdateException,
JspException
- This method will update the object identified by the
expr
parameter with
the value. If the
- Parameters:
expr
- value
-
- Throws:
ExpressionUpdateException
JspException