Package org.zkoss.zk.xel
Interface Evaluator
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BindEvaluatorX,EvaluatorRef
- All Known Implementing Classes:
BindEvaluatorXImpl,BindEvaluatorXImplEx,ClientBinderResolver,SimpleEvaluator
A ZK specific expression builder that is based on XEL.
- Since:
- 3.0.0
- Author:
- tomyeh
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(Component comp, Expression expression) Evaluates the expression.evaluate(Page page, Expression expression) Evaluates the expression.parseExpression(String expression, Class<?> expectedType) Prepares the expression.
-
Method Details
-
parseExpression
Prepares the expression.- Parameters:
expression- the expression to be prepared for being evaluated later.expectedType- the expected type of the result of the evaluation- Throws:
XelException
-
evaluate
Evaluates the expression.- Parameters:
page- the page, or null to ignore- Throws:
XelException
-
evaluate
Evaluates the expression.- Parameters:
comp- the component, or null to ignore- Throws:
XelException
-