Package org.craftercms.engine.macro.impl
Class CookieMacro
java.lang.Object
org.craftercms.engine.macro.impl.AbstractMacro
org.craftercms.engine.macro.impl.CookieMacro
- All Implemented Interfaces:
Macro
,org.springframework.beans.factory.InitializingBean
Represents a macro that can be a cookie value.
- Author:
- Alfonso Vásquez
-
Field Summary
Fields inherited from class org.craftercms.engine.macro.impl.AbstractMacro
macroName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
getMacroValue
(String str) void
setCookieName
(String cookieName) Methods inherited from class org.craftercms.engine.macro.impl.AbstractMacro
afterPropertiesSet, getName, resolve
-
Constructor Details
-
CookieMacro
public CookieMacro()
-
-
Method Details
-
setCookieName
-
createMacroName
- Specified by:
createMacroName
in classAbstractMacro
-
getMacroValue
- Specified by:
getMacroValue
in classAbstractMacro
-