org.apache.myfaces.tobago.compat
Class FacesUtilsEL

java.lang.Object
  extended by org.apache.myfaces.tobago.compat.FacesUtilsEL

public class FacesUtilsEL
extends Object


Constructor Summary
FacesUtilsEL()
           
 
Method Summary
static void addBindingOrExpressionPopupActionListener(ActionSource actionSource, Object bindingOrExpression)
           
static void addBindingOrExpressionTabChangeListener(TabChangeSource source, String type, Object bindingOrExpression)
           
static void copyValueBindingOrValueExpression(UIComponent fromComponent, String fromName, UIComponent toComponent, String toName)
           
static Object createExpressionOrBinding(String string)
           
static Comparator getBindingOrExpressionComparator(FacesContext facesContext, UIComponent child, String var, boolean descending, Comparator comparator)
           
static String getExpressionString(UIComponent component, String name)
           
static Object getValueFromBindingOrExpression(Object obj)
           
static Object getValueFromValueBindingOrValueExpression(FacesContext context, UIComponent component, String name)
           
static boolean hasValueBindingOrValueExpression(UIComponent component, String name)
           
static void invokeMethodBinding(FacesContext facesContext, MethodBinding methodBinding, FacesEvent event)
           
static void invokeMethodExpression(FacesContext facesContext, MethodExpression methodExpression, FacesEvent event)
           
static boolean invokeOnComponent(FacesContext context, UIComponent component, String clientId, ContextCallback callback)
           
static boolean isReadonlyValueBindingOrValueExpression(FacesContext context, UIComponent component, String name)
           
static void setBindingOrExpression(UIComponent component, String name, Object valueBindingOrExpression)
           
static void setConverter(ValueHolder valueHolder, Object converterExpression)
           
static void setValidator(EditableValueHolder editableValueHolder, Object validator)
           
static void setValueOfBindingOrExpression(FacesContext context, Object value, Object bindingOrExpression)
           
static void setValueOfBindingOrExpression(FacesContext context, Object value, UIComponent component, String bindingName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacesUtilsEL

public FacesUtilsEL()
Method Detail

invokeOnComponent

public static boolean invokeOnComponent(FacesContext context,
                                        UIComponent component,
                                        String clientId,
                                        ContextCallback callback)

invokeMethodBinding

public static void invokeMethodBinding(FacesContext facesContext,
                                       MethodBinding methodBinding,
                                       FacesEvent event)

invokeMethodExpression

public static void invokeMethodExpression(FacesContext facesContext,
                                          MethodExpression methodExpression,
                                          FacesEvent event)

getValueFromValueBindingOrValueExpression

public static Object getValueFromValueBindingOrValueExpression(FacesContext context,
                                                               UIComponent component,
                                                               String name)

hasValueBindingOrValueExpression

public static boolean hasValueBindingOrValueExpression(UIComponent component,
                                                       String name)

isReadonlyValueBindingOrValueExpression

public static boolean isReadonlyValueBindingOrValueExpression(FacesContext context,
                                                              UIComponent component,
                                                              String name)

getExpressionString

public static String getExpressionString(UIComponent component,
                                         String name)

setValueOfBindingOrExpression

public static void setValueOfBindingOrExpression(FacesContext context,
                                                 Object value,
                                                 UIComponent component,
                                                 String bindingName)

setValueOfBindingOrExpression

public static void setValueOfBindingOrExpression(FacesContext context,
                                                 Object value,
                                                 Object bindingOrExpression)

copyValueBindingOrValueExpression

public static void copyValueBindingOrValueExpression(UIComponent fromComponent,
                                                     String fromName,
                                                     UIComponent toComponent,
                                                     String toName)

getValueFromBindingOrExpression

public static Object getValueFromBindingOrExpression(Object obj)

createExpressionOrBinding

public static Object createExpressionOrBinding(String string)

setValidator

public static void setValidator(EditableValueHolder editableValueHolder,
                                Object validator)

setConverter

public static void setConverter(ValueHolder valueHolder,
                                Object converterExpression)

setBindingOrExpression

public static void setBindingOrExpression(UIComponent component,
                                          String name,
                                          Object valueBindingOrExpression)

addBindingOrExpressionTabChangeListener

public static void addBindingOrExpressionTabChangeListener(TabChangeSource source,
                                                           String type,
                                                           Object bindingOrExpression)

getBindingOrExpressionComparator

public static Comparator getBindingOrExpressionComparator(FacesContext facesContext,
                                                          UIComponent child,
                                                          String var,
                                                          boolean descending,
                                                          Comparator comparator)

addBindingOrExpressionPopupActionListener

public static void addBindingOrExpressionPopupActionListener(ActionSource actionSource,
                                                             Object bindingOrExpression)


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.