|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.xel.zel.ELFactory org.zkoss.bind.xel.BindXelFactory
public class BindXelFactory
Xel Factory for Binding.
Field Summary |
---|
Fields inherited from class org.zkoss.xel.zel.ELFactory |
---|
_expf |
Fields inherited from interface org.zkoss.xel.ExpressionFactory |
---|
FEATURE_CLASS, FEATURE_FUNCTION |
Constructor Summary | |
---|---|
BindXelFactory()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.zkoss.xel.zel.ELFactory |
---|
evaluate, isSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindXelFactory()
Method Detail |
---|
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 evaluation
XelException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |