public class ParameterSupportBase extends Object implements ParameterSupport
ParameterSupport implementation.| Modifier | Constructor and Description |
|---|---|
protected |
ParameterSupportBase(String prefix,
String suffix) |
protected |
ParameterSupportBase(String prefix,
String suffix,
Map<String,String> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
allowDotInName()
Call this method to allow dots in parameter names, which is disabled by default.
|
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. |
protected ParameterSupportBase(String prefix, String suffix, Map<String,String> parameters)
public void allowDotInName()
public final String replaceParameters(String source)
ParameterSupportString and returns a new one containing the replacements.replaceParameters in interface ParameterSupportsource - the String to replace the parameters inString with the parameters replacedpublic final List<String> getParameters(String source)
ParameterSupportString, without affixes.getParameters in interface ParameterSupportsource - the String to search the parameters forString, without affixes.public final Collection<String> getParameterNames()
ParameterSupportParameterSupport is aware of.getParameterNames in interface ParameterSupportParameterSupport is aware ofpublic final Map<String,String> getParameters()
ParameterSupportMap containing all parameters this ParameterSupport is aware of.getParameters in interface ParameterSupportMap containing all parameters this ParameterSupport is aware of.public final ExpressionEvaluator getExpressionEvaluator()
ParameterSupportExpressionEvaluator created with the parameters of this ParameterSupport.getExpressionEvaluator in interface ParameterSupportExpressionEvaluator created with the parameters of this ParameterSupport.Copyright © 2011–2018 aiticon GmbH. All rights reserved.