Interface ValueFactory.IValueCreator
- Enclosing class:
ValueFactory
private static interface ValueFactory.IValueCreator
Private interface for calling the constructor of the right value type.
- Author:
- El-Sharkawy
-
Method Summary
Modifier and TypeMethodDescriptioncreateValue(IDatatype type, Object... value) Part of this Factory, should call the constructor of a value.
-
Method Details
-
createValue
Part of this Factory, should call the constructor of a value.- Parameters:
type- The concrete datype for which this value should be created. This is needed forStructuredDatatypes.value- The unparsed value(s) which should be stored in the newly created value object-- Returns:
- A value object storing the parsed information of the parameter.
- Throws:
ValueDoesNotMatchTypeException- If the given value does not match the specified type.
-