org.radeox.macro
Class MacroListMacro

java.lang.Object
  extended byorg.radeox.macro.BaseMacro
      extended byorg.radeox.macro.BaseLocaleMacro
          extended byorg.radeox.macro.MacroListMacro
All Implemented Interfaces:
java.lang.Comparable, LocaleMacro, Macro

public class MacroListMacro
extends BaseLocaleMacro


Field Summary
 
Fields inherited from class org.radeox.macro.BaseMacro
description, initialContext, paramDescription
 
Constructor Summary
MacroListMacro()
           
 
Method Summary
 java.io.Writer appendTo(java.io.Writer writer)
           
 void execute(java.io.Writer writer, MacroParameter params)
          Execute the macro.
 java.lang.String getLocaleKey()
           
 
Methods inherited from class org.radeox.macro.BaseLocaleMacro
getName, setInitialContext
 
Methods inherited from class org.radeox.macro.BaseMacro
compareTo, getDescription, getParamDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MacroListMacro

public MacroListMacro()
Method Detail

getLocaleKey

public java.lang.String getLocaleKey()

execute

public void execute(java.io.Writer writer,
                    MacroParameter params)
             throws java.lang.IllegalArgumentException,
                    java.io.IOException
Description copied from class: BaseMacro
Execute the macro. This method is called by MacroFilter to handle macros.

Specified by:
execute in interface Macro
Specified by:
execute in class BaseMacro
Parameters:
writer - A write where the macro should write its output to
params - Macro parameters with the parameters the macro is called with
Throws:
java.lang.IllegalArgumentException
java.io.IOException

appendTo

public java.io.Writer appendTo(java.io.Writer writer)
                        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003 Matthias L. Jugel, Stephan J. Schmidt. All Rights Reserved.