Class AbstractCSSValueConverter
java.lang.Object
org.eclipse.e4.ui.css.core.dom.properties.converters.AbstractCSSValueConverter
- All Implemented Interfaces:
ICSSValueConverter
- Direct Known Subclasses:
CSSValueBooleanConverterImpl, CSSValueSWTColorConverterImpl, CSSValueSWTCursorConverterImpl, CSSValueSWTFontDataConverterImpl, CSSValueSWTGradientConverterImpl, CSSValueSWTImageConverterImpl, CSSValueSWTRGBConverterImpl
Abstract base class for converters.
- Version:
- 1.0.0
- Author:
- Angelo ZERR
-
Constructor Details
-
AbstractCSSValueConverter
-
-
Method Details
-
getToType
Description copied from interface:ICSSValueConverterReturns the type to which this converter can convert. The return type is Object rather than Class to optionally support richer type systems than the one provided by Java reflection.- Specified by:
getToTypein interfaceICSSValueConverter- Returns:
- the type to which this converter can convert, or null if this converter is untyped
-
convert
Description copied from interface:ICSSValueConverterReturns StringCSSValueof the result of the conversion of the given Objectvalue.- Specified by:
convertin interfaceICSSValueConverter- Parameters:
value-- Throws:
Exception
-