Package 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
Fields Modifier and Type Field Description private java.lang.Classclazz
-
Constructor Summary
Constructors Constructor Description ListTypeConverter(java.lang.Class pClass)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectbackConvert(java.lang.Object pObject)Converts the given object into its generic representation.java.lang.Objectconvert(java.lang.Object pObject)Converts the given object into the required representation.booleanisConvertable(java.lang.Object pObject)Returns, whether theTypeConverteris ready to handle the given object.protected abstract java.util.ListnewList(int pSize)
-
-
-
Method Detail
-
newList
protected abstract java.util.List newList(int pSize)
-
isConvertable
public boolean isConvertable(java.lang.Object pObject)
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
public java.lang.Object convert(java.lang.Object pObject)
Description copied from interface:TypeConverterConverts the given object into the required representation.- Specified by:
convertin interfaceTypeConverter
-
backConvert
public java.lang.Object backConvert(java.lang.Object pObject)
Description copied from interface:TypeConverterConverts the given object into its generic representation.- Specified by:
backConvertin interfaceTypeConverter
-
-