Package org.zkoss.bind.xel
Class BindXelFactory
java.lang.Object
org.zkoss.xel.zel.ELFactory
org.zkoss.bind.xel.BindXelFactory
- All Implemented Interfaces:
ExpressionFactory
- Direct Known Subclasses:
BindXelFactoryEx
Xel Factory for Binding.
- Since:
- 6.0.0
- Author:
- henrichen
-
Field Summary
Fields inherited from interface org.zkoss.xel.ExpressionFactory
FEATURE_CLASS, FEATURE_FUNCTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ELContextnewELContext(XelContext xelc) protected ExpressionFactoryReturns the EL expression factory.parseExpression(XelContext xelc, String expression, Class expectedType) Prepares (a.k.a., compiles) an expression.Methods inherited from class org.zkoss.xel.zel.ELFactory
evaluate, isSupported
-
Constructor Details
-
BindXelFactory
public BindXelFactory()
-
-
Method Details
-
parseExpression
public Expression parseExpression(XelContext xelc, String expression, Class expectedType) throws XelException Description copied from interface:ExpressionFactoryPrepares (a.k.a., compiles) an expression.- Specified by:
parseExpressionin interfaceExpressionFactory- Overrides:
parseExpressionin classELFactory- Parameters:
xelc- the context information to prepare the expression. It can be null, in which case no functions are supported for this invocation.expression- the expression to be evaluated.expectedType- the expected type of the result of the evaluation- Throws:
XelException
-
newELContext
- Overrides:
newELContextin classELFactory
-
newExpressionFactory
Description copied from class:ELFactoryReturns the EL expression factory.Default: Use org.zkoss.zel.impl.ExpressionFactoryImpl.
You might override it to use a different implementation.
- Overrides:
newExpressionFactoryin classELFactory
-