public class BeanMapExpressionEvaluator
extends org.smooks.engine.expression.MVELExpressionEvaluator
implements org.smooks.api.expression.ExecutionContextExpressionEvaluator
ExecutionContext
via the BeanContext
.
Cab be used to selectively target resources based on the
contents of the java objects bound to the supplied ExecutionContext
via the BeanContext
.
The special EC variable gives access to the EditingContext.Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
BeanMapExpressionEvaluator() |
BeanMapExpressionEvaluator(String expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
eval(org.smooks.api.ExecutionContext context) |
Object |
getValue(org.smooks.api.ExecutionContext context) |
eval, exec, exec, getCompiled, getExpression, getValue, setExpression, setToType, toString
public BeanMapExpressionEvaluator()
public BeanMapExpressionEvaluator(String expression) throws org.smooks.api.SmooksConfigException
org.smooks.api.SmooksConfigException
public boolean eval(org.smooks.api.ExecutionContext context) throws org.smooks.api.expression.ExpressionEvaluationException
eval
in interface org.smooks.api.expression.ExecutionContextExpressionEvaluator
org.smooks.api.expression.ExpressionEvaluationException
public Object getValue(org.smooks.api.ExecutionContext context) throws org.smooks.api.expression.ExpressionEvaluationException
getValue
in interface org.smooks.api.expression.ExecutionContextExpressionEvaluator
org.smooks.api.expression.ExpressionEvaluationException
Copyright © 2024. All rights reserved.