Package org.apache.xmlrpc.common
Class TypeConverterFactoryImpl.PrimitiveTypeConverter
java.lang.Object
org.apache.xmlrpc.common.TypeConverterFactoryImpl.PrimitiveTypeConverter
- All Implemented Interfaces:
TypeConverter
- Enclosing class:
TypeConverterFactoryImpl
private static class TypeConverterFactoryImpl.PrimitiveTypeConverter
extends Object
implements TypeConverter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackConvert(Object pObject) Converts the given object into its generic representation.Converts the given object into the required representation.booleanisConvertable(Object pObject) Returns, whether theTypeConverteris ready to handle the given object.
-
Field Details
-
clazz
-
-
Constructor Details
-
PrimitiveTypeConverter
PrimitiveTypeConverter(Class pClass)
-
-
Method Details
-
isConvertable
Description copied from interface:TypeConverterReturns, whether theTypeConverteris ready to handle the given object. If so,TypeConverter.convert(Object)may be called.- Specified by:
isConvertablein interfaceTypeConverter
-
convert
Description copied from interface:TypeConverterConverts the given object into the required representation.- Specified by:
convertin interfaceTypeConverter
-
backConvert
Description copied from interface:TypeConverterConverts the given object into its generic representation.- Specified by:
backConvertin interfaceTypeConverter
-