Package org.apache.xmlrpc.serializer
Class ListSerializer
- java.lang.Object
-
- org.apache.xmlrpc.serializer.TypeSerializerImpl
-
- org.apache.xmlrpc.serializer.ObjectArraySerializer
-
- org.apache.xmlrpc.serializer.ListSerializer
-
- All Implemented Interfaces:
TypeSerializer
public class ListSerializer extends ObjectArraySerializer
ATypeSerializer
for lists.
-
-
Field Summary
-
Fields inherited from class org.apache.xmlrpc.serializer.ObjectArraySerializer
ARRAY_TAG, DATA_TAG
-
Fields inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
VALUE_TAG, ZERO_ATTRIBUTES
-
-
Constructor Summary
Constructors Constructor Description ListSerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
writeData(ContentHandler pHandler, Object pObject)
-
Methods inherited from class org.apache.xmlrpc.serializer.ObjectArraySerializer
write, writeObject
-
Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl
write, write, write
-
-
-
-
Constructor Detail
-
ListSerializer
public ListSerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig)
Creates a new instance.- Parameters:
pTypeFactory
- The factory being used for creating serializers.pConfig
- The configuration being used for creating serializers.
-
-
Method Detail
-
writeData
protected void writeData(ContentHandler pHandler, Object pObject) throws SAXException
- Overrides:
writeData
in classObjectArraySerializer
- Throws:
SAXException
-
-