public class BindXelFactory extends ELFactory
FEATURE_CLASS, FEATURE_FUNCTION
Constructor and Description |
---|
BindXelFactory() |
Modifier and Type | Method and Description |
---|---|
protected ELContext |
newELContext(XelContext xelc) |
protected ExpressionFactory |
newExpressionFactory()
Returns the EL expression factory.
|
Expression |
parseExpression(XelContext xelc,
java.lang.String expression,
java.lang.Class expectedType)
Prepares (a.k.a., compiles) an expression.
|
evaluate, isSupported
public Expression parseExpression(XelContext xelc, java.lang.String expression, java.lang.Class expectedType) throws XelException
ExpressionFactory
parseExpression
in interface ExpressionFactory
parseExpression
in class ELFactory
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 evaluationXelException
protected ELContext newELContext(XelContext xelc)
newELContext
in class ELFactory
protected ExpressionFactory newExpressionFactory()
ELFactory
Default: Use org.zkoss.zel.impl.ExpressionFactoryImpl.
You might override it to use a different implementation.
newExpressionFactory
in class ELFactory
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.