org.apache.xmlrpc.serializer

Class ListSerializer

Implemented Interfaces:
TypeSerializer

public class ListSerializer
extends ObjectArraySerializer

A TypeSerializer 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

ListSerializer(TypeFactory pTypeFactory, XmlRpcStreamConfig pConfig)
Creates a new instance.

Method Summary

protected void
writeData(ContentHandler pHandler, Object pObject)

Methods inherited from class org.apache.xmlrpc.serializer.ObjectArraySerializer

write, writeData, writeObject

Methods inherited from class org.apache.xmlrpc.serializer.TypeSerializerImpl

write, write, write

Constructor Details

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 Details

writeData

protected void writeData(ContentHandler pHandler,
                         Object pObject)
            throws SAXException
Overrides:
writeData in interface ObjectArraySerializer

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.