doSerialize
protected void doSerialize(java.lang.Object value,
java.io.Writer output,
redstone.xmlrpc.XmlRpcSerializer serializer)
throws redstone.xmlrpc.XmlRpcException,
java.io.IOException
Converts a ServerGroup to a XMLRPC <struct> containing the top-
level fields of the ServerGroup. It serializes the Org as just an ID
instead of traversing the entire object graph.
- Specified by:
doSerialize
in class RhnXmlRpcCustomSerializer
- Parameters:
value
- ServerGroup object.
output
- Buffer to serialize the object to.
serializer
- basic XMLRPC serializer
- Throws:
redstone.xmlrpc.XmlRpcException
- thrown if a problem occurs with serializing
the value.
java.io.IOException
- thrown if a problem occurs with serializing
the value.