public class VariableDefinitionEvaluator extends java.lang.Object implements MEXTransformerEvaluatorI
{name=value} or {!name=value} and stores them in the transformer's context.
If prefixed with '!' (e.g. {!var=value}), the expression is removed from the output (definition only).
Otherwise (e.g. {var=value}), it is replaced by the value itself (definition and expansion).
| Constructor and Description |
|---|
VariableDefinitionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.CharSequence |
evaluate(java.lang.CharSequence s,
MEXTransformer transformer)
Attempts to match and evaluate a variable definition expression.
|
public java.lang.CharSequence evaluate(java.lang.CharSequence s,
MEXTransformer transformer)
evaluate in interface MEXTransformerEvaluatorIs - The content inside the curly braces.transformer - The MEXTransformer context.s if no match is found.Copyright © 2000-2026 OAshi S.à r.l. All Rights Reserved.