Package org.craftercms.engine.macro
Interface MacroResolver
- All Known Implementing Classes:
MacroResolverImpl
public interface MacroResolver
Resolves the macros in the given string.
- Author:
- Alfonso Vásquez
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionresolveMacros
(String str) Resolve the macros found in the string.resolveMacros
(String str, Map<String, ?> macroValues) Resolve the macros found in the string.
-
Method Details
-
resolveMacros
Resolve the macros found in the string.- Parameters:
str
- the string with the macros- Returns:
- the resolved string
-
resolveMacros
Resolve the macros found in the string.- Parameters:
str
- the string with the macrosmacroValues
- additional macros values- Returns:
- the resolved string
-