public interface IParameterResolver
| Modifier and Type | Method and Description |
|---|---|
int |
resolveParameter(String template,
String parameterName,
Matcher parameterMatcher,
int copyStart,
StringBuffer result)
Provides a way for components to inject their own replacements of parameter markers in the provided template.
|
int resolveParameter(String template, String parameterName, Matcher parameterMatcher, int copyStart, StringBuffer result)
template - The string containing replacement parametersparameterName - The name of the located parameter in the templateparameterMatcher - The Regex matcher that located the parametercopyStart - The current start to copy from the templateresult - The final string with the parameter replacements inlined