Package org.radeox.macro.list
Interface ListFormatter
-
- All Known Implementing Classes:
AtoZListFormatter,ExampleListFormatter,SimpleList
public interface ListFormatterList formatter interface. List formatters are loaded via the plugin mechanism.- Version:
- $Id: ListFormatter.java 7707 2006-04-12 17:30:19Z ian@caret.cam.ac.uk $
- Author:
- Matthias L. Jugel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidformat(Writer writer, Linkable current, String listComment, Collection c, String emptyText, boolean showSize)Display a simple vertical list.StringgetName()
-
-
-
Method Detail
-
getName
String getName()
-
format
void format(Writer writer, Linkable current, String listComment, Collection c, String emptyText, boolean showSize) throws IOException
Display a simple vertical list.- Parameters:
writer- Writer to write the list output tocurrent- the current linkablelistComment- 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- Throws:
IOException
-
-