Package org.craftercms.engine.macro.impl
Class RequestUriMacro
- java.lang.Object
-
- org.craftercms.engine.macro.impl.AbstractMacro
-
- org.craftercms.engine.macro.impl.RequestUriMacro
-
- All Implemented Interfaces:
Macro
,org.springframework.beans.factory.InitializingBean
public class RequestUriMacro extends AbstractMacro
Represents a {request.uri} macro, which resolves to the current request uri.- Author:
- Alfonso Vásquez
-
-
Field Summary
-
Fields inherited from class org.craftercms.engine.macro.impl.AbstractMacro
macroName
-
-
Constructor Summary
Constructors Constructor Description RequestUriMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createMacroName()
protected String
getMacroValue(String str)
-
Methods inherited from class org.craftercms.engine.macro.impl.AbstractMacro
afterPropertiesSet, getName, resolve
-
-
-
-
Method Detail
-
createMacroName
protected String createMacroName()
- Specified by:
createMacroName
in classAbstractMacro
-
getMacroValue
protected String getMacroValue(String str)
- Specified by:
getMacroValue
in classAbstractMacro
-
-