org.radeox.macro.list
Interface ListFormatter
- All Known Implementing Classes:
- AtoZListFormatter, ExampleListFormatter, SimpleList
- public interface ListFormatter
List formatter interface. List formatters are loaded via the plugin mechanism.
- Version:
- $Id: ListFormatter.java,v 1.4 2003/02/17 07:17:36 stephan Exp $
- Author:
- Matthias L. Jugel
Method Summary |
void |
format(java.io.Writer writer,
java.lang.String listComment,
java.util.Collection c,
java.lang.String emptyText,
boolean showSize)
Display a simple vertical list. |
java.lang.String |
getName()
|
getName
public java.lang.String getName()
format
public void format(java.io.Writer writer,
java.lang.String listComment,
java.util.Collection c,
java.lang.String emptyText,
boolean showSize)
throws java.io.IOException
- Display a simple vertical list.
- Parameters:
writer
- Writer to write the list output tolistComment
- String to display before the listc
- Collection of Linkables, Snips or Nameables to displayemptyText
- Text to display if collection is emptyshowSize
- If showSize is true then the size of the collection is displayed
java.io.IOException
Copyright © 2003 Matthias L. Jugel, Stephan J. Schmidt. All Rights Reserved.