|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueBuilderFactory
Factory for Values and ValueBuilders.
Method Summary | ||
---|---|---|
|
newValue(Class<T> valueType)
Instantiate a Value of the given type. |
|
|
newValueBuilder(Class<T> valueType)
Create a builder for creating new Values that implements the given Value type. |
|
|
newValueFromJSON(Class<T> valueType,
String jsonValue)
|
Method Detail |
---|
<T> ValueBuilder<T> newValueBuilder(Class<T> valueType) throws NoSuchValueException
valueType
- an interface that describes the Composite to be instantiated
NoSuchValueException
- if no value extending the mixinType has been registered<T> T newValue(Class<T> valueType) throws NoSuchValueException, ConstructionException
valueType
- the Value type to instantiate
NoSuchValueException
- if no value extending the mixinType has been registered
ConstructionException
- if the value could not be instantiated<T> T newValueFromJSON(Class<T> valueType, String jsonValue)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |