Package org.radeox.macro
Class RfcMacro
- java.lang.Object
-
- org.radeox.macro.BaseMacro
-
- org.radeox.macro.BaseLocaleMacro
-
- org.radeox.macro.RfcMacro
-
- All Implemented Interfaces:
Comparable,org.radeox.api.macro.Macro,LocaleMacro
public class RfcMacro extends BaseLocaleMacro
-
-
Field Summary
-
Fields inherited from class org.radeox.macro.BaseMacro
description, initialContext, paramDescription
-
-
Constructor Summary
Constructors Constructor Description RfcMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendRfc(Writer writer, String number, String view)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
-
appendRfc
public void appendRfc(Writer writer, String number, String view) throws IOException, IllegalArgumentException
- Throws:
IOExceptionIllegalArgumentException
-
-