org.jboss.seam.el
Class SeamExpressionFactory

java.lang.Object
  extended by javax.el.ExpressionFactory
      extended by org.jboss.seam.el.SeamExpressionFactory

public class SeamExpressionFactory
extends javax.el.ExpressionFactory

Allows JSF action listener methods to not declare the totally useless ActionEvent parameter if they don't want to.

Author:
Gavin King

Field Summary
static javax.el.ExpressionFactory INSTANCE
           
 
Method Summary
 Object coerceToType(Object obj, Class targetType)
           
 javax.el.MethodExpression createMethodExpression(javax.el.ELContext elContext, String expression, Class returnType, Class[] paramTypes)
           
 javax.el.ValueExpression createValueExpression(javax.el.ELContext elContext, String expression, Class expectedType)
           
 javax.el.ValueExpression createValueExpression(Object instance, Class expectedType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final javax.el.ExpressionFactory INSTANCE
Method Detail

coerceToType

public Object coerceToType(Object obj,
                           Class targetType)
Specified by:
coerceToType in class javax.el.ExpressionFactory

createMethodExpression

public javax.el.MethodExpression createMethodExpression(javax.el.ELContext elContext,
                                                        String expression,
                                                        Class returnType,
                                                        Class[] paramTypes)
Specified by:
createMethodExpression in class javax.el.ExpressionFactory

createValueExpression

public javax.el.ValueExpression createValueExpression(Object instance,
                                                      Class expectedType)
Specified by:
createValueExpression in class javax.el.ExpressionFactory

createValueExpression

public javax.el.ValueExpression createValueExpression(javax.el.ELContext elContext,
                                                      String expression,
                                                      Class expectedType)
Specified by:
createValueExpression in class javax.el.ExpressionFactory