Interface ValueFactory.IValueCreator
-
- Enclosing class:
- ValueFactory
private static interface ValueFactory.IValueCreatorPrivate interface for calling the constructor of the right value type.- Author:
- El-Sharkawy
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValuecreateValue(IDatatype type, java.lang.Object... value)Part of this Factory, should call the constructor of a value.
-
-
-
Method Detail
-
createValue
Value createValue(IDatatype type, java.lang.Object... value) throws ValueDoesNotMatchTypeException
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.
-
-