org.apache.xmlrpc.common
Class TypeConverterFactoryImpl.ListTypeConverter
java.lang.Object
org.apache.xmlrpc.common.TypeConverterFactoryImpl.ListTypeConverter
- All Implemented Interfaces:
- TypeConverter
- Enclosing class:
- TypeConverterFactoryImpl
private abstract static class TypeConverterFactoryImpl.ListTypeConverter
- extends java.lang.Object
- implements TypeConverter
Field Summary |
private java.lang.Class |
clazz
|
Method Summary |
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 the TypeConverter is
ready to handle the given object. |
protected abstract java.util.List |
newList(int pSize)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
clazz
private final java.lang.Class clazz
TypeConverterFactoryImpl.ListTypeConverter
TypeConverterFactoryImpl.ListTypeConverter(java.lang.Class pClass)
newList
protected abstract java.util.List newList(int pSize)
isConvertable
public boolean isConvertable(java.lang.Object pObject)
- Description copied from interface:
TypeConverter
- Returns, whether the
TypeConverter
is
ready to handle the given object. If so,
TypeConverter.convert(Object)
may be called.
- Specified by:
isConvertable
in interface TypeConverter
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 interface TypeConverter
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 interface TypeConverter