nl.flotsam.pecia
Interface Contents<V>

Type Parameters:
V - The type of the parent document element.
All Superinterfaces:
SimpleContents<V>
All Known Subinterfaces:
AnnotatedArticle<T>, AnnotatedSection<T>, Article<T>, ArticleBuilder<T>, ArticleDocument, Section<T>, SectionBuilder<T>
All Known Implementing Classes:
DefaultArticleBuilder, DefaultArticleDocument, DefaultSectionBuilder

public interface Contents<V>
extends SimpleContents<V>

A general interface, allowing you to produce several non-inline document elements.

Author:
Wilfred Springer

Method Summary
 AnnotatedSection<? extends V> section(String title)
          Adds a new section.
 
Methods inherited from interface nl.flotsam.pecia.SimpleContents
document, itemizedList, orderedList, para, para, table2Cols, table3Cols, table4Cols, table5Cols, verbatim
 

Method Detail

section

AnnotatedSection<? extends V> section(String title)
Adds a new section.

Parameters:
title - The title of the section.
Returns:
The section just created.


Copyright © 2010. All Rights Reserved.