Class AbstractToStringConverter<T>
- java.lang.Object
-
- org.eclipse.xtext.conversion.impl.AbstractValueConverter<T>
-
- org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter<T>
-
- org.eclipse.xtext.conversion.impl.AbstractToStringConverter<T>
-
- All Implemented Interfaces:
IValueConverter<T>
public abstract class AbstractToStringConverter<T> extends AbstractNullSafeConverter<T>
Abstract implementation of aIValueConverter, that does not fail onnull-Values and uses a simpleObject.toString()to obtain theStringrepresentation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.conversion.IValueConverter
IValueConverter.RuleSpecific
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.conversion.IValueConverter
NO_OP_CONVERTER
-
-
Constructor Summary
Constructors Constructor Description AbstractToStringConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringinternalToString(T value)-
Methods inherited from class org.eclipse.xtext.conversion.impl.AbstractNullSafeConverter
internalToValue, toString, toValue
-
-
-
-
Method Detail
-
internalToString
public final java.lang.String internalToString(T value)
- Specified by:
internalToStringin classAbstractNullSafeConverter<T>
-
-