public class XcoreConversionDelegate extends java.lang.Object implements EDataType.Internal.ConversionDelegate
EDataType.Internal.ConversionDelegate.Factory| Constructor and Description |
|---|
XcoreConversionDelegate() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
convertToString(java.lang.Object value)
Converts a value of the data type to a string literal.
|
java.lang.Object |
createFromString(java.lang.String literal)
Creates a value of the data type from a string literal.
|
void |
initialize(XBlockExpression createBody,
XBlockExpression convertBody,
EDataType eDataType,
XcoreInterpreter interpreter) |
public void initialize(XBlockExpression createBody,
XBlockExpression convertBody,
EDataType eDataType,
XcoreInterpreter interpreter)
public java.lang.String convertToString(java.lang.Object value)
EDataType.Internal.ConversionDelegateconvertToString in interface EDataType.Internal.ConversionDelegatevalue - the value to be converted.public java.lang.Object createFromString(java.lang.String literal)
EDataType.Internal.ConversionDelegatecreateFromString in interface EDataType.Internal.ConversionDelegateliteral - the string literal to be converted.