|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.core.Expressions
@Scope(value=APPLICATION) @BypassInterceptors @Install(precedence=0) @Name(value="org.jboss.seam.core.expressions") public class Expressions
Factory for EL method and value expressions. This default implementation uses JBoss EL.
| 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. |
| Constructor Summary | |
|---|---|
Expressions()
|
|
| Method Summary | ||
|---|---|---|
Expressions.MethodExpression<Object> |
createMethodExpression(String expression)
Create a method expression. |
|
|
createMethodExpression(String expression,
Class<T> type,
Class... argTypes)
Create a method expression. |
|
Expressions.ValueExpression<Object> |
createValueExpression(String expression)
Create a value expression. |
|
|
createValueExpression(String expression,
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()
|
|
protected boolean |
isFacesContextActive()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Expressions()
| Method Detail |
|---|
public javax.el.ExpressionFactory getExpressionFactory()
public javax.el.ELContext getELContext()
public Expressions.ValueExpression<Object> createValueExpression(String expression)
expression - a JBoss EL value expressionpublic Expressions.MethodExpression<Object> createMethodExpression(String expression)
expression - a JBoss EL method expression
public <T> Expressions.ValueExpression<T> createValueExpression(String expression,
Class<T> type)
expression - a JBoss EL value expressiontype - the type of the value
public <T> Expressions.MethodExpression<T> createMethodExpression(String expression,
Class<T> type,
Class... argTypes)
expression - a JBoss EL method expressiontype - the method return typeargTypes - the method parameter typesprotected boolean isFacesContextActive()
public static Expressions instance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||