public interface ParameterSupport
String
. The parameters need to use a prefix and a suffix
so they can be found.Modifier and Type | Method and Description |
---|---|
ExpressionEvaluator |
getExpressionEvaluator()
Returns an
ExpressionEvaluator created with the parameters of this ParameterSupport . |
Collection<String> |
getParameterNames()
Returns the names of all parameters this
ParameterSupport is aware of. |
Map<String,String> |
getParameters()
Returns an immutable
Map containing all parameters this ParameterSupport is aware of. |
List<String> |
getParameters(String source)
Returns the names of all parameters used in the given
String , without affixes. |
String |
replaceParameters(String source)
Replaces all parameters in the given
String and returns a new one containing the replacements. |
String replaceParameters(String source)
String
and returns a new one containing the replacements.source
- the String
to replace the parameters inString
with the parameters replacedList<String> getParameters(String source)
String
, without affixes.source
- the String
to search the parameters forString
, without affixes.Collection<String> getParameterNames()
ParameterSupport
is aware of.ParameterSupport
is aware ofMap<String,String> getParameters()
Map
containing all parameters this ParameterSupport
is aware of.Map
containing all parameters this ParameterSupport
is aware of.ExpressionEvaluator getExpressionEvaluator()
ExpressionEvaluator
created with the parameters of this ParameterSupport
.ExpressionEvaluator
created with the parameters of this ParameterSupport
.Copyright © 2011–2017 aiticon GmbH. All rights reserved.