nl.flotsam.pecia
Interface Entry<T>

Type Parameters:
T - The type of the next entry. (Either Entry or LastEntry.)
All Superinterfaces:
SimpleContents<Entry<T>>
All Known Subinterfaces:
EntryBuilder<T>
All Known Implementing Classes:
DefaultEntryBuilder, HtmlDocumentBuilder.HtmlColBuilder

public interface Entry<T>
extends SimpleContents<Entry<T>>

The representation of a cell in a table.

Author:
Wilfred Springer

Method Summary
 T entry()
          Creates the next table cell entry.
 Para<? extends Entry<T>> para()
          Creates a paragraph.
 Entry<T> para(String text)
          Adds a new paragraph containing just the text passed in.
 
Methods inherited from interface nl.flotsam.pecia.SimpleContents
document, itemizedList, orderedList, table2Cols, table3Cols, table4Cols, table5Cols, verbatim
 

Method Detail

para

Para<? extends Entry<T>> para()
Creates a paragraph.

Specified by:
para in interface SimpleContents<Entry<T>>
Returns:
A paragraph embedded in the table cell.

para

Entry<T> para(String text)
Adds a new paragraph containing just the text passed in.

Specified by:
para in interface SimpleContents<Entry<T>>
Parameters:
text - The text to be added to the paragraph.
Returns:
The current context.

entry

T entry()
Creates the next table cell entry.

Returns:
The new table cell entry.


Copyright © 2010. All Rights Reserved.