Package nl.flotsam.pecia.builder.base

The package providing a default implementation of the builder interfaces.

See:
          Description

Interface Summary
LifecycleListener The interface for receiving callbacks from a DefaultDocumentBuilder subclass.
 

Class Summary
AbstractBuilder<T>  
AbstractTableBuilder<T>  
DefaultArticleBuilder<T>  
DefaultArticleDocument  
DefaultDocumentBuilder  
DefaultEntryBuilder<T>  
DefaultFootnoteBuilder<T>  
DefaultItemizedListBuilder<T>  
DefaultLastEntryBuilder<T>  
DefaultListItemBuilder<T>  
DefaultParaBuilder<T>  
DefaultRowBuilder<T>  
DefaultSectionBuilder<T>  
DefaultTable2ColsBuilder<T>  
DefaultTable3ColsBuilder<T>  
DefaultTable4ColsBuilder<T>  
DefaultTable5ColsBuilder<T>  
DefaultTable6ColsBuilder<T>  
DefaultVerbatimBuilder<T>  
NullLifecycleListener A null implementation of the LifecycleListener interface.
OrderPreservingLifecycleListener An implementation of the LifecycleListener interface that decorates another LifecycleListener, adding support for preserving the order of constructing elements.
RowFactory A utility class supporting the construction of tables.
RowFactory.ColDef<T> An object allowing you to either create a new column, or to construct a new row.
RowFactory.LastColDef<T>  
 

Enum Summary
AbstractTableBuilder.State  
 

Package nl.flotsam.pecia.builder.base Description

The package providing a default implementation of the builder interfaces. The implementation in this package tries to ease construction of packages constructing output by defining a LifecycleListener that gets notified when new document elements are pushed on the stack, or when these document elements are popped from the stack.

Note that the LifecycleListener will not always be called directly when a new document element is constructed. Take for instance a section. Whenever you would create a new section by invoking .section("foobar") on the current element, you would still be allowed to pass some additional metadata. The LifecycleListener operation is invoked whenever you are done with passing additional metadata. (In case of a section, that would typically be when you start to add content to the section.)



Copyright © 2010. All Rights Reserved.