|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.expressions.Expressions
public class Expressions
A facade to the expressions functionality.
| Constructor Summary | |
|---|---|
Expressions(Functions functions,
CacheProvider cacheProvider,
ELTypeConverter typeConverter,
ExpressionProvider expProvider)
|
|
| Method Summary | |
|---|---|
javax.el.ValueExpression |
constant(Object value,
Class<?> type)
|
static Expressions |
forTesting()
Returns an instance of Expressions that doesn't require any functions or perform any caching. |
static Expressions |
forTesting(Functions functions)
Returns an instance of Expressions that doesn't require any functions or perform any caching. |
javax.el.ELContext |
newELContext(javax.el.ELResolver... customResolvers)
Creates an ELContext. |
javax.el.ValueExpression |
parse(String expression,
Class<?> type)
Parse a value expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public Expressions(Functions functions,
CacheProvider cacheProvider,
ELTypeConverter typeConverter,
ExpressionProvider expProvider)
| Method Detail |
|---|
public static Expressions forTesting(Functions functions)
public static Expressions forTesting()
public javax.el.ELContext newELContext(javax.el.ELResolver... customResolvers)
customResolvers - resolvers to be added to the chain
public javax.el.ValueExpression parse(String expression,
Class<?> type)
expression - the string expression. This may be a literal
without any expressions.type - the desired coercion type.
public javax.el.ValueExpression constant(Object value,
Class<?> type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||