public abstract class BaseMacro extends Object implements org.radeox.api.macro.Macro
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected org.radeox.api.engine.context.InitialRenderContext |
initialContext |
protected String[] |
paramDescription |
| Constructor and Description |
|---|
BaseMacro() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object object) |
abstract void |
execute(Writer writer,
org.radeox.api.macro.MacroParameter params)
Execute the macro.
|
String |
getDescription()
Get a description of the macro.
|
abstract String |
getName()
Get the name of the macro.
|
String[] |
getParamDescription()
Get a description of the paramters of the macro.
|
void |
setInitialContext(org.radeox.api.engine.context.InitialRenderContext context) |
String |
toString() |
protected org.radeox.api.engine.context.InitialRenderContext initialContext
protected String description
protected String[] paramDescription
public abstract String getName()
getName in interface org.radeox.api.macro.Macropublic String getDescription()
getDescription in interface org.radeox.api.macro.Macropublic String[] getParamDescription()
getParamDescription in interface org.radeox.api.macro.Macropublic void setInitialContext(org.radeox.api.engine.context.InitialRenderContext context)
setInitialContext in interface org.radeox.api.macro.Macropublic abstract void execute(Writer writer, org.radeox.api.macro.MacroParameter params) throws IllegalArgumentException, IOException
execute in interface org.radeox.api.macro.Macrowriter - A write where the macro should write its output toparams - Macro parameters with the parameters the macro is called withIllegalArgumentExceptionIOExceptionpublic int compareTo(Object object)
compareTo in interface ComparableCopyright © 2003-2014 Sakai Project. All Rights Reserved.