javax.el
Class ExpressionFactory

java.lang.Object
  extended by javax.el.ExpressionFactory
Direct Known Subclasses:
CandiExpressionFactory, ExpressionFactoryImpl, JsfExpressionFactoryImpl

public abstract class ExpressionFactory
extends java.lang.Object

Represents an EL expression factory


Constructor Summary
ExpressionFactory()
           
 
Method Summary
abstract  java.lang.Object coerceToType(java.lang.Object obj, java.lang.Class<?> targetType)
           
abstract  MethodExpression createMethodExpression(ELContext context, java.lang.String expression, java.lang.Class<?> expectedReturnType, java.lang.Class<?>[] expectedParamTypes)
           
abstract  ValueExpression createValueExpression(ELContext context, java.lang.String expression, java.lang.Class<?> expectedType)
           
abstract  ValueExpression createValueExpression(java.lang.Object instance, java.lang.Class<?> expectedType)
           
static ExpressionFactory newInstance()
           
static ExpressionFactory newInstance(java.util.Properties properties)
           
 
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 java.lang.Object coerceToType(java.lang.Object obj,
                                              java.lang.Class<?> targetType)
                                       throws ELException
Throws:
ELException

createMethodExpression

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

createValueExpression

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

createValueExpression

public abstract ValueExpression createValueExpression(java.lang.Object instance,
                                                      java.lang.Class<?> expectedType)
                                               throws ELException
Throws:
ELException

newInstance

public static ExpressionFactory newInstance()

newInstance

public static ExpressionFactory newInstance(java.util.Properties properties)