Package org.craftercms.engine.macro
Interface Macro
-
- All Known Implementing Classes:
AbstractMacro
,CookieMacro
,FixedValueMacro
,RequestParamMacro
,RequestUriMacro
,ScopeAttributeMacro
,WebAppContextPathMacro
,WebAppPathMacro
public interface Macro
Represents a specific macro, and resolves any appearance of the macro in a string. A macro is a substring of the form {macro} that represents a placeholder for a defined value or instruction. For example, the {webapp.path} macro can be replaced for the path of the web app exploded dir.- Author:
- Alfonso Vásquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
String
resolve(String str)
-