|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openfaces.validation.core.Expressions
public class Expressions
Expressions
is a utility class that is used to creating and parsing of value and method expressions.
Nested Class Summary | |
---|---|
static interface |
Expressions.MethodExpression<T>
A method expression - an EL expression that evaluates to a method. |
static interface |
Expressions.ValueExpression<T>
A value expression - an EL expression that evaluates to an attribute getter or get/set pair. |
Method Summary | ||
---|---|---|
Expressions.MethodExpression<java.lang.Object> |
createMethodExpression(java.lang.String expression)
Create a method expression. |
|
|
createMethodExpression(java.lang.String expression,
java.lang.Class<T> type,
java.lang.Class<T>... argTypes)
Create a method expression. |
|
Expressions.ValueExpression<java.lang.Object> |
createValueExpression(java.lang.String expression)
Create a value expression. |
|
|
createValueExpression(java.lang.String expression,
java.lang.Class<T> type)
Create a value expression. |
|
javax.el.ELContext |
getELContext()
Get an appropriate ELContext. |
|
javax.el.ExpressionFactory |
getExpressionFactory()
Get the JBoss EL ExpressionFactory |
|
static Expressions |
instance()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public javax.el.ExpressionFactory getExpressionFactory()
public javax.el.ELContext getELContext()
public Expressions.ValueExpression<java.lang.Object> createValueExpression(java.lang.String expression)
expression
- a JBoss EL value expressionpublic Expressions.MethodExpression<java.lang.Object> createMethodExpression(java.lang.String expression)
expression
- a JBoss EL method expressionpublic <T> Expressions.ValueExpression<T> createValueExpression(java.lang.String expression, java.lang.Class<T> type)
expression
- a JBoss EL value expressiontype
- the type of the valuepublic <T> Expressions.MethodExpression<T> createMethodExpression(java.lang.String expression, java.lang.Class<T> type, java.lang.Class<T>... argTypes)
expression
- a JBoss EL method expressiontype
- the method return typeargTypes
- the method parameter typespublic static Expressions instance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |