public class CodeMacro extends LocalePreserved
description, initialContext| Constructor and Description |
|---|
CodeMacro() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Writer writer,
MacroParameter params)
Execute the macro.
|
String |
getLocaleKey() |
String[] |
getParamDescription()
Get a description of the paramters of the macro.
|
void |
setInitialContext(InitialRenderContext context) |
getNameaddSpecial, addSpecial, replacecompareTo, getDescription, toStringpublic String[] getParamDescription()
BaseMacrogetParamDescription in interface MacrogetParamDescription in class BaseMacropublic String getLocaleKey()
public void setInitialContext(InitialRenderContext context)
setInitialContext in interface MacrosetInitialContext in class LocalePreservedpublic void execute(Writer writer, MacroParameter params) throws IllegalArgumentException, IOException
BaseMacroexecute in interface Macroexecute in class BaseMacrowriter - A write where the macro should write its output toparams - Macro parameters with the parameters the macro is called withIllegalArgumentExceptionIOExceptionCopyright © 2003–2022 Sakai Project. All rights reserved.