fr.etai.xat2v2.builder
Class AbstractBuilder<T>
java.lang.Object
fr.etai.xat2v2.builder.AbstractBuilder<T>
- Type Parameters:
T
- : the type to be build
- Direct Known Subclasses:
- AttributedURIBuilder, ClassificationBuilder, ExplicitDateBuilder, FormatedDateBuilder, MessageBuilder
public abstract class AbstractBuilder<T>
- extends Object
Abstract class for builder
- Author:
- rlecomte
Method Summary |
abstract T |
build()
Build the object |
abstract AbstractBuilder<T> |
reset()
Reset the builder so that it can be used
to build a brand new object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBuilder
public AbstractBuilder()
build
public abstract T build()
- Build the object
- Returns:
reset
public abstract AbstractBuilder<T> reset()
- Reset the builder so that it can be used
to build a brand new object
Copyright © 2012. All Rights Reserved.