Package org.apache.xmlrpc.common
Class TypeConverterFactoryImpl.CastCheckingTypeConverter
- java.lang.Object
-
- org.apache.xmlrpc.common.TypeConverterFactoryImpl.CastCheckingTypeConverter
-
- All Implemented Interfaces:
TypeConverter
- Enclosing class:
- TypeConverterFactoryImpl
private static class TypeConverterFactoryImpl.CastCheckingTypeConverter extends java.lang.Object implements TypeConverter
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class
clazz
-
Constructor Summary
Constructors Constructor Description CastCheckingTypeConverter(java.lang.Class pClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
backConvert(java.lang.Object pObject)
Converts the given object into its generic representation.java.lang.Object
convert(java.lang.Object pObject)
Converts the given object into the required representation.boolean
isConvertable(java.lang.Object pObject)
Returns, whether theTypeConverter
is ready to handle the given object.
-
-
-
Method Detail
-
isConvertable
public boolean isConvertable(java.lang.Object pObject)
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
public java.lang.Object convert(java.lang.Object pObject)
Description copied from interface:TypeConverter
Converts the given object into the required representation.- Specified by:
convert
in interfaceTypeConverter
-
backConvert
public java.lang.Object backConvert(java.lang.Object pObject)
Description copied from interface:TypeConverter
Converts the given object into its generic representation.- Specified by:
backConvert
in interfaceTypeConverter
-
-