|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectBuilderFactory
This factory creates builders for POJO's.
Method Summary | ||
---|---|---|
|
newObject(Class<T> type)
Create new objects of the given type. |
|
|
newObjectBuilder(Class<T> type)
Create a builder for creating new objects of the given type. |
Method Detail |
---|
<T> ObjectBuilder<T> newObjectBuilder(Class<T> type) throws NoSuchObjectException, ConstructionException
type
- an object class which will be instantiated.
ObjectBuilder
for creation of objects of the given type.
ConstructionException
- Thrown if instantiation fails.
NoSuchObjectException
- Thrown if type
class is not an object.<T> T newObject(Class<T> type) throws NoSuchObjectException, ConstructionException
type
- an object class which will be instantiated.
ConstructionException
- Thrown if instantiation fails.
NoSuchObjectException
- Thrown if type
class is not an object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |