public class EFactoryValueConverter extends Object implements IValueConverter<Object>
EFactory of a EDataType.IValueConverter.RuleSpecificNO_OP_CONVERTER| Constructor and Description |
|---|
EFactoryValueConverter(org.eclipse.emf.ecore.EDataType dataType) |
public EFactoryValueConverter(org.eclipse.emf.ecore.EDataType dataType)
public String toString(Object value)
IValueConvertertoString in interface IValueConverter<Object>value - the to-be-transformed valuepublic Object toValue(String string, INode node) throws ValueConverterException
IValueConverterCreates a value from the given input. The input is conformant to a data type or terminal rule.
The given string
or node may be null but not both of them.
toValue in interface IValueConverter<Object>string - the string that was inferred from the node. Usually the node's text
but may be reduced to the parts of the node that are not
hidden.node - the parsed node including hidden parts.null.ValueConverterException - indicates that the string or node did not fulfil
the expected format.Copyright © 2015. All Rights Reserved.