org.jplate.foundation.gof.builder
Interface BuilderIfc<V>

Type Parameters:
V - The object built by self.
All Known Subinterfaces:
CdvBuilderIfc<V>, CdvListBuilderIfc, CdvTableBuilderIfc, CsvBuilderIfc<V>, CsvListBuilderIfc, CsvTableBuilderIfc, JPlateBuilderIfc<V>, JPlateListBuilderIfc<V>, JPlateMapBuilderIfc<K,V>, KvpBuilderIfc<V>, KvpListBuilderIfc<V>, KvpMapBuilderIfc, NodeBuilderIfc<V>, TableBuilderIfc, TabularBuilderIfc<V>, TabularListBuilderIfc, TdvBuilderIfc<V>, TdvListBuilderIfc, TdvTableBuilderIfc
All Known Implementing Classes:
AbstractJPlateListBuilder, AbstractJPlateMapBuilder, DefaultKvpListBuilder, DefaultKvpMapBuilder, DefaultTableBuilder, DefaultTabularListBuilder

public interface BuilderIfc<V>

Defines the "Gand of Four" Builder pattern: "Separate the construction of a complex object from its representation so that the same construction process can create different representations," p97 Design Patterns - Elements of Reusable Object-Oriented Software. Subclasses are responsible for providing their respective domain build() methods.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/gof/builder/BuilderIfc.java $
    


Method Summary
 V getResult()
          Return the built object.
 void reset()
          Reset any result currently held.
 

Method Detail

getResult

V getResult()
Return the built object.

Returns:
the built object.

reset

void reset()
Reset any result currently held.