Package net.datenwerke.rs.utils.juel
Interface JuelService
- All Known Implementing Classes:
JuelServiceImpl
public interface JuelService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionevaluate(Map<String, VariableAssignment> replacementMap, String template) booleanisValidExpression(String expression) ELContextprovideBasicContext(ExpressionFactory factory) Provides a newwith some default values set.invalid reference
ELContextExpressionFactoryProvides a newwith the following properties: javax.el.methodInvocations: true javax.el.nullProperties: falseinvalid reference
ExpressionFactory
-
Field Details
-
JUEL_SANDBOX
- See Also:
-
-
Method Details
-
provideBasicExpressionFactory
ExpressionFactory provideBasicExpressionFactory()Provides a newwith the following properties:invalid reference
ExpressionFactory- javax.el.methodInvocations: true
- javax.el.nullProperties: false
- Returns:
- A new
invalid reference
ExpressionFactory
-
provideBasicContext
ELContext provideBasicContext(ExpressionFactory factory) Provides a newwith some default values set. The ContextConfig gets newly created.invalid reference
ELContext- Parameters:
factory- Theto create expressions with.invalid reference
ExpressionFactory- Returns:
- A new
invalid reference
ELContext
-
isValidExpression
-
evaluate
-
evaluate
-