org.apache.myfaces.orchestra.flow.utils
Class _ExpressionFactory

java.lang.Object
  extended by org.apache.myfaces.orchestra.flow.utils._ExpressionFactory

public class _ExpressionFactory
extends Object

Creates ValueExpression objects based on the "current" ELContext.

This class allows an ELContext to be "tunnelled" as a thread-local variable to places where code wants to create a ValueExpression even though the ELContext is not available as a parameter.


Constructor Summary
_ExpressionFactory()
           
 
Method Summary
static javax.el.MethodExpression createMethodExpression(javax.faces.context.FacesContext facesContext, String expr)
           
static javax.el.ValueExpression createValueExpression(javax.faces.context.FacesContext facesContext, String expr)
           
static void popContext(javax.el.ELContext ctx)
           
static void pushContext(javax.el.ELContext ctx)
           
 
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

pushContext

public static void pushContext(javax.el.ELContext ctx)

popContext

public static void popContext(javax.el.ELContext ctx)

createValueExpression

public static javax.el.ValueExpression createValueExpression(javax.faces.context.FacesContext facesContext,
                                                             String expr)

createMethodExpression

public static javax.el.MethodExpression createMethodExpression(javax.faces.context.FacesContext facesContext,
                                                               String expr)


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