public interface ELService
Modifier and Type | Interface and Description |
---|---|
static interface |
ELService.ELContextProvider
This interface provides methods to add ELContext for EL evaluation.
|
static interface |
ELService.ELExpressionProvider
This interface provides methods to add properties for the EL evaluation.
|
static interface |
ELService.MethodExpressionProvider
This interface provides methods to evaluate a method expression.
|
static interface |
ELService.ValueExpressionProvider
This interface provides methods to evaluate a value expression.
|
Modifier and Type | Method and Description |
---|---|
ELService.ELContextProvider |
withExpression(String el,
Class returnType)
Sets the expression language to evaluate and specifies the expected return type.
|
ELService.MethodExpressionProvider |
withMethodExpression(javax.el.MethodExpression methodExpression)
Sets a MethodExpression to invoke.
|
ELService.ValueExpressionProvider |
withValueExpression(javax.el.ValueExpression valueExpression)
Sets a ValueExpression to evaluate.
|
ELService.ELContextProvider withExpression(String el, Class returnType)
el
- the expression language to evaluatereturnType
- the expected return typeSeedException
- if el is blank or returnType is nullELService.ValueExpressionProvider withValueExpression(javax.el.ValueExpression valueExpression)
valueExpression
- the value expression to setSeedException
- if the valueExpression is nullELService.MethodExpressionProvider withMethodExpression(javax.el.MethodExpression methodExpression)
methodExpression
- the method expression to setSeedException
- if the methodExpression is nullCopyright © 2013-2018–2019 SeedStack. All rights reserved.