marquee.xmlrpc.serializers
Class CollectionSerializer

java.lang.Object
  extended by marquee.xmlrpc.serializers.CollectionSerializer
All Implemented Interfaces:
XmlRpcCustomSerializer

public class CollectionSerializer
extends java.lang.Object
implements XmlRpcCustomSerializer

Since:
JDK 1.2
Version:
$Revision: 1.2 $
Author:
Greger Ohlson (greger.ohlson@marquee.se)

Constructor Summary
CollectionSerializer()
           
 
Method Summary
 java.lang.Class getSupportedClass()
          
 void serialize(java.lang.Object value, java.lang.StringBuffer output)
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionSerializer

public CollectionSerializer()
Method Detail

getSupportedClass

public java.lang.Class getSupportedClass()

Specified by:
getSupportedClass in interface XmlRpcCustomSerializer
Returns:
The class of objects interpretable to this serializer.

serialize

public void serialize(java.lang.Object value,
                      java.lang.StringBuffer output)
               throws XmlRpcException

Specified by:
serialize in interface XmlRpcCustomSerializer
Parameters:
value - The object to serialize.
output - The buffer to place the serialized data.
Throws:
XmlRpcException - if the value somehow could not be serialized. Many serializers rely on the built in serializer which also may throw this exception.