Package com.bc.ceres.binding.converters
Class AffineTransformConverter
java.lang.Object
com.bc.ceres.binding.converters.AffineTransformConverter
- All Implemented Interfaces:
Converter<AffineTransform>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformat
(AffineTransform transform) Converts a value of the type returned byConverter.getValueType()
to its plain text representation.Class
<? extends AffineTransform> Gets the value type.Converts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType()
.
-
Constructor Details
-
AffineTransformConverter
public AffineTransformConverter()
-
-
Method Details
-
getValueType
Description copied from interface:Converter
Gets the value type.- Specified by:
getValueType
in interfaceConverter<AffineTransform>
- Returns:
- The value type.
-
parse
Description copied from interface:Converter
Converts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType()
.- Specified by:
parse
in interfaceConverter<AffineTransform>
- Parameters:
text
- The textual representation of the value.- Returns:
- The converted value.
- Throws:
ConversionException
- If the conversion fails.
-
format
Description copied from interface:Converter
Converts a value of the type returned byConverter.getValueType()
to its plain text representation.- Specified by:
format
in interfaceConverter<AffineTransform>
- Parameters:
transform
- The value to be converted to text.- Returns:
- The textual representation of the value.
-