public class JScienceUnitValueConverter extends Object implements org.eclipse.xtext.conversion.IValueConverter<Unit>
Constructor and Description |
---|
JScienceUnitValueConverter() |
Modifier and Type | Method and Description |
---|---|
String |
toString(Unit value) |
Unit |
toValue(String string,
org.eclipse.xtext.nodemodel.INode node) |
public Unit toValue(String string, org.eclipse.xtext.nodemodel.INode node) throws org.eclipse.xtext.conversion.ValueConverterException
toValue
in interface org.eclipse.xtext.conversion.IValueConverter<Unit>
org.eclipse.xtext.conversion.ValueConverterException
public String toString(Unit value) throws org.eclipse.xtext.conversion.ValueConverterException
toString
in interface org.eclipse.xtext.conversion.IValueConverter<Unit>
org.eclipse.xtext.conversion.ValueConverterException