public interface ExpressionResolver
Modifier and Type | Method and Description |
---|---|
String |
resolve(String expression)
Resolves an expression like:
#{name.male_first_name} #{name.last_name} |
String resolve(String expression)
#{name.male_first_name} #{name.last_name}
Definition keys are defined as #{definition.path}
.
Digits are defined simply as #
.
Placeholders which have no definitions will be removed. The method first looks into the locale which was passed as first in the list and then goes to the next ones in order if a key could not be resolved.
expression
- the expression to evaluateCopyright © 2021. All rights reserved.