Package org.craftercms.engine.macro.impl
Class AbstractMacro
java.lang.Object
org.craftercms.engine.macro.impl.AbstractMacro
- All Implemented Interfaces:
Macro
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
CookieMacro
,FixedValueMacro
,RequestParamMacro
,RequestUriMacro
,ScopeAttributeMacro
,WebAppContextPathMacro
,WebAppPathMacro
public abstract class AbstractMacro
extends Object
implements Macro, org.springframework.beans.factory.InitializingBean
Abstract
Macro
that provides a macro name attribute to hold the macro name (when the macro's name
is variable) and the ability to skip the macro if the name is not contained in the specified string.- Author:
- Alfonso Vásquez
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected abstract String
protected abstract String
getMacroValue
(String str) getName()
-
Field Details
-
macroName
-
-
Constructor Details
-
AbstractMacro
public AbstractMacro()
-
-
Method Details