|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.trails.builder.BuilderDirector
public class BuilderDirector
Fulfils the "Director" role in the Trails implementation of GOF's Builder pattern Constructs an object using the Builder interface
| Constructor Summary | |
|---|---|
BuilderDirector()
|
|
| Method Summary | ||
|---|---|---|
|
createNewInstance(java.lang.Class<T> type)
Create a new instance of an object of class 'type' using a Builder. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuilderDirector()
| Method Detail |
|---|
public <T> T createNewInstance(java.lang.Class<T> type)
type - is a class whose instance should be created
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||