org.apache.xmlrpc.common
Class TypeConverterFactoryImpl.ListTypeConverter

java.lang.Object
  extended by 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
           
 
Constructor Summary
TypeConverterFactoryImpl.ListTypeConverter(java.lang.Class pClass)
           
 
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
 

Field Detail

clazz

private final java.lang.Class clazz
Constructor Detail

TypeConverterFactoryImpl.ListTypeConverter

TypeConverterFactoryImpl.ListTypeConverter(java.lang.Class pClass)
Method Detail

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