Class BindXelFactory

    • Constructor Detail

      • BindXelFactory

        public BindXelFactory()
    • Method Detail

      • parseExpression

        public Expression parseExpression​(XelContext xelc,
                                          java.lang.String expression,
                                          java.lang.Class expectedType)
                                   throws XelException
        Description copied from interface: ExpressionFactory
        Prepares (a.k.a., compiles) an expression.
        Specified by:
        parseExpression in interface ExpressionFactory
        Overrides:
        parseExpression in class ELFactory
        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
      • newExpressionFactory

        protected ExpressionFactory newExpressionFactory()
        Description copied from class: ELFactory
        Returns the EL expression factory.

        Default: Use org.zkoss.zel.impl.ExpressionFactoryImpl.

        You might override it to use a different implementation.

        Overrides:
        newExpressionFactory in class ELFactory