public class FacesElUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
elPattern
The pattern to match any EL expression in a String.
|
| Constructor and Description |
|---|
FacesElUtils() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerceToType(FacesContext context,
String expression,
Object value) |
ValueExpression |
createValueExpression(FacesContext context,
String expression) |
Class<?> |
getExpectedType(FacesContext context,
String expression) |
Object |
getValue(FacesContext context,
String expression) |
Object |
invokeMethod(FacesContext context,
String expression) |
Object |
invokeMethod(FacesContext context,
String expression,
Class<?>[] argumentTypes,
Object[] argumentValues) |
boolean |
isEl(String viewId) |
void |
setValue(FacesContext context,
String expression,
Object value) |
public static final Pattern elPattern
public Object coerceToType(FacesContext context, String expression, Object value) throws ELException
ELExceptionpublic Class<?> getExpectedType(FacesContext context, String expression) throws ELException
ELExceptionpublic Object getValue(FacesContext context, String expression) throws ELException
ELExceptionpublic Object invokeMethod(FacesContext context, String expression) throws ELException
ELExceptionpublic Object invokeMethod(FacesContext context, String expression, Class<?>[] argumentTypes, Object[] argumentValues) throws ELException
ELExceptionpublic boolean isEl(String viewId)
public void setValue(FacesContext context, String expression, Object value) throws ELException
ELExceptionpublic ValueExpression createValueExpression(FacesContext context, String expression) throws ELException
ELExceptionCopyright © 2014 OCPsoft. All Rights Reserved.