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.boolean
isConvertable
(Object pObject) Returns, whether theTypeConverter
is ready to handle the given object.
-
Field Details
-
clazz
-
-
Constructor Details
-
PrimitiveTypeConverter
PrimitiveTypeConverter(Class pClass)
-
-
Method Details
-
isConvertable
Description copied from interface:TypeConverter
Returns, whether theTypeConverter
is ready to handle the given object. If so,TypeConverter.convert(Object)
may be called.- Specified by:
isConvertable
in interfaceTypeConverter
-
convert
Description copied from interface:TypeConverter
Converts the given object into the required representation.- Specified by:
convert
in interfaceTypeConverter
-
backConvert
Description copied from interface:TypeConverter
Converts the given object into its generic representation.- Specified by:
backConvert
in interfaceTypeConverter
-