Class DefaultTypeConverter<O>
java.lang.Object
org.exoplatform.commons.serialization.api.TypeConverter<O,O>
org.exoplatform.commons.serialization.api.DefaultTypeConverter<O>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultTypeConverter
public DefaultTypeConverter()
-
-
Method Details
-
write
Description copied from class:TypeConverterConverts an external value to an internal value.- Specified by:
writein classTypeConverter<O,O> - Parameters:
input- the external value- Returns:
- the the internal value
- Throws:
Exception- any conversion exception
-
read
Description copied from class:TypeConverterConverts an internal value to an external value.- Specified by:
readin classTypeConverter<O,O> - Parameters:
output- the internal value- Returns:
- the external value
- Throws:
Exception- any conversion exception
-