org.zkoss.zel.impl
Class ExpressionFactoryImpl

java.lang.Object
  extended by org.zkoss.zel.ExpressionFactory
      extended by org.zkoss.zel.impl.ExpressionFactoryImpl
Direct Known Subclasses:
BindExpressionFactoryImpl

public class ExpressionFactoryImpl
extends ExpressionFactory

Version:
$Id: ExpressionFactoryImpl.java 959568 2010-07-01 09:35:23Z markt $
Author:
Jacob Hookom [jacob@hookom.net]
See Also:
ExpressionFactory

Constructor Summary
ExpressionFactoryImpl()
           
 
Method Summary
 java.lang.Object coerceToType(java.lang.Object obj, java.lang.Class<?> type)
           
 MethodExpression createMethodExpression(ELContext context, java.lang.String expression, java.lang.Class<?> expectedReturnType, java.lang.Class<?>[] expectedParamTypes)
           
 ValueExpression createValueExpression(ELContext context, java.lang.String expression, java.lang.Class<?> expectedType)
           
 ValueExpression createValueExpression(java.lang.Object instance, java.lang.Class<?> expectedType)
           
protected  ExpressionBuilder newExpressionBuilder(java.lang.String expression, ELContext context)
           
 
Methods inherited from class org.zkoss.zel.ExpressionFactory
newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionFactoryImpl

public ExpressionFactoryImpl()
Method Detail

coerceToType

public java.lang.Object coerceToType(java.lang.Object obj,
                                     java.lang.Class<?> type)
Specified by:
coerceToType in class ExpressionFactory

createMethodExpression

public MethodExpression createMethodExpression(ELContext context,
                                               java.lang.String expression,
                                               java.lang.Class<?> expectedReturnType,
                                               java.lang.Class<?>[] expectedParamTypes)
Specified by:
createMethodExpression in class ExpressionFactory

createValueExpression

public ValueExpression createValueExpression(ELContext context,
                                             java.lang.String expression,
                                             java.lang.Class<?> expectedType)
Specified by:
createValueExpression in class ExpressionFactory

createValueExpression

public ValueExpression createValueExpression(java.lang.Object instance,
                                             java.lang.Class<?> expectedType)
Specified by:
createValueExpression in class ExpressionFactory

newExpressionBuilder

protected ExpressionBuilder newExpressionBuilder(java.lang.String expression,
                                                 ELContext context)


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo