org.radeox.macro.list
Class ExampleListFormatter
java.lang.Object
|
+--org.radeox.macro.list.ExampleListFormatter
- All Implemented Interfaces:
- ListFormatter
- public class ExampleListFormatter
- extends java.lang.Object
- implements ListFormatter
Tutorial example list formatter.
- Version:
- $Id: ExampleListFormatter.java,v 1.3 2003/02/06 13:41:42 leo Exp $
- Author:
- Stephan J. Schmidt
Method Summary |
void |
format(java.io.Writer writer,
java.lang.String listComment,
java.util.Collection c,
java.lang.String emptyText,
boolean showSize)
Create a simple list. |
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExampleListFormatter
public ExampleListFormatter()
getName
public java.lang.String getName()
- Specified by:
getName
in interface ListFormatter
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
- Create a simple list.
- Specified by:
format
in interface ListFormatter
- 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.