org.expasy.jpl.commons.base.builder
Interface InstanceBuilder<T>

Type Parameters:
T - the built class.
All Known Implementing Classes:
ConditionImpl.Builder, DataTableFactory.Builder, GraphExporter.Builder, HistogramDataSet.Builder, IntegerSequence.Builder, InteractiveInputScannerImpl.Builder, Interval.Builder, SymbolSequenceImpl.Builder

public interface InstanceBuilder<T>

The InstanceBuilder interface should be implemented by any builder building T type instance.

Version:
1.0
Author:
nikitin

Method Summary
 T build()
          Build an instance of T-type object.
 

Method Detail

build

T build()
        throws BuilderException
Build an instance of T-type object.

Returns:
an instance of T.
Throws:
BuilderException - - if conditions to build T are not satisfied.


Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.