Package org.radeox.macro
Class MacroListMacro
- java.lang.Object
-
- org.radeox.macro.BaseMacro
-
- org.radeox.macro.BaseLocaleMacro
-
- org.radeox.macro.MacroListMacro
-
- All Implemented Interfaces:
Comparable,org.radeox.api.macro.Macro,LocaleMacro
public class MacroListMacro extends BaseLocaleMacro
-
-
Field Summary
-
Fields inherited from class org.radeox.macro.BaseMacro
description, initialContext, paramDescription
-
-
Constructor Summary
Constructors Constructor Description MacroListMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WriterappendTo(Writer writer)voidexecute(Writer writer, org.radeox.api.macro.MacroParameter params)Execute the macro.StringgetLocaleKey()-
Methods inherited from class org.radeox.macro.BaseLocaleMacro
getName, setInitialContext
-
Methods inherited from class org.radeox.macro.BaseMacro
compareTo, getDescription, getParamDescription, toString
-
-
-
-
Method Detail
-
getLocaleKey
public String getLocaleKey()
-
execute
public void execute(Writer writer, org.radeox.api.macro.MacroParameter params) throws IllegalArgumentException, IOException
Description copied from class:BaseMacroExecute the macro. This method is called by MacroFilter to handle macros.- Specified by:
executein interfaceorg.radeox.api.macro.Macro- Specified by:
executein classBaseMacro- Parameters:
writer- A write where the macro should write its output toparams- Macro parameters with the parameters the macro is called with- Throws:
IllegalArgumentExceptionIOException
-
appendTo
public Writer appendTo(Writer writer) throws IOException
- Throws:
IOException
-
-