com.ocpsoft.pretty.util
Class FacesElUtils

java.lang.Object
  extended by com.ocpsoft.pretty.util.FacesElUtils

public class FacesElUtils
extends java.lang.Object

Author:
lb3

Field Summary
static java.lang.String EL_REGEX
           
static java.util.regex.Pattern elPattern
           
 
Constructor Summary
FacesElUtils()
           
 
Method Summary
 java.lang.Class<?> getExpectedType(javax.faces.context.FacesContext context, java.lang.String expression)
           
 java.lang.Object getValue(javax.faces.context.FacesContext context, java.lang.String expression)
           
 java.lang.Object invokeMethod(javax.faces.context.FacesContext context, java.lang.String expression)
           
 boolean isEl(java.lang.String viewId)
           
 void setValue(javax.faces.context.FacesContext context, java.lang.String expression, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EL_REGEX

public static final java.lang.String EL_REGEX
See Also:
Constant Field Values

elPattern

public static final java.util.regex.Pattern elPattern
Constructor Detail

FacesElUtils

public FacesElUtils()
Method Detail

isEl

public boolean isEl(java.lang.String viewId)

invokeMethod

public java.lang.Object invokeMethod(javax.faces.context.FacesContext context,
                                     java.lang.String expression)
                              throws javax.el.ELException
Throws:
javax.el.ELException

setValue

public void setValue(javax.faces.context.FacesContext context,
                     java.lang.String expression,
                     java.lang.Object value)
              throws javax.el.ELException
Throws:
javax.el.ELException

getValue

public java.lang.Object getValue(javax.faces.context.FacesContext context,
                                 java.lang.String expression)
                          throws javax.el.ELException
Throws:
javax.el.ELException

getExpectedType

public java.lang.Class<?> getExpectedType(javax.faces.context.FacesContext context,
                                          java.lang.String expression)
                                   throws javax.el.ELException
Throws:
javax.el.ELException


Copyright © 2010. All Rights Reserved.