javax.el
Class ExpressionFactory

java.lang.Object
  extended by javax.el.ExpressionFactory

public abstract class ExpressionFactory
extends Object

Since:
2.1

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

Constructor Detail

ExpressionFactory

public ExpressionFactory()
Method Detail

coerceToType

public abstract Object coerceToType(Object obj,
                                    Class<?> expectedType)
                             throws ELException
Throws:
ELException

createValueExpression

public abstract ValueExpression createValueExpression(ELContext context,
                                                      String expression,
                                                      Class<?> expectedType)
                                               throws NullPointerException,
                                                      ELException
Throws:
NullPointerException
ELException

createValueExpression

public abstract ValueExpression createValueExpression(Object instance,
                                                      Class<?> expectedType)

createMethodExpression

public abstract MethodExpression createMethodExpression(ELContext context,
                                                        String expression,
                                                        Class<?> expectedReturnType,
                                                        Class<?>[] expectedParamTypes)
                                                 throws ELException,
                                                        NullPointerException
Throws:
ELException
NullPointerException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.