public abstract class AbstractMacro extends Object implements Macro
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.Constructor and Description |
---|
AbstractMacro() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
createMacroName() |
protected abstract String |
getMacroValue(String str) |
String |
getName() |
void |
init() |
String |
resolve(String str) |
protected String macroName
@PostConstruct public void init()
protected abstract String createMacroName()
Copyright © 2021 CrafterCMS. All rights reserved.