Package com.bc.ceres.binding.converters
Class ClassConverter
java.lang.Object
com.bc.ceres.binding.converters.ClassConverter
- Direct Known Subclasses:
JavaTypeConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPackageQualifier(String qualifier) Converts a value of the type returned byConverter.getValueType()to its plain text representation.Gets the value type.Class<?> Converts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType().
-
Constructor Details
-
ClassConverter
public ClassConverter()
-
-
Method Details
-
getValueType
Description copied from interface:ConverterGets the value type.- Specified by:
getValueTypein interfaceConverter<Class>- Returns:
- The value type.
-
parse
Description copied from interface:ConverterConverts a value from its plain text representation to a Java object instance of the type returned byConverter.getValueType().- Specified by:
parsein interfaceConverter<Class>- Parameters:
text- The textual representation of the value.- Returns:
- The converted value.
- Throws:
ConversionException- If the conversion fails.
-
format
Description copied from interface:ConverterConverts a value of the type returned byConverter.getValueType()to its plain text representation. -
addPackageQualifier
-