|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmarquee.xmlrpc.XmlRpcSerializer
public class XmlRpcSerializer
The XmlRpcSerializer class converts Java objects to their XML-RPC counterparts according to the XML-RPC specification. It inherently supports basic object types like String, Integer, Double, Float, Boolean, Date, and byte arrays. For other types of objects, custom serializers need to be registered. The Marquée XML-RPC library comes with a set of useful serializers for collections and other types of objects (see the marquee.xmlrpc.serializers package).
Constructor Summary | |
---|---|
XmlRpcSerializer()
|
Method Summary | |
---|---|
static void |
registerCustomSerializer(XmlRpcCustomSerializer customSerializer)
Registers a custom serializer. |
static void |
serialize(java.lang.Object value,
java.lang.StringBuffer output)
Converts the supplied Java object to its XML-RPC counterpart according to the XML-RPC specification. |
static void |
unregisterCustomSerializer(XmlRpcCustomSerializer customSerializer)
Unregisters a previously registered custom serializer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlRpcSerializer()
Method Detail |
---|
public static void serialize(java.lang.Object value, java.lang.StringBuffer output) throws XmlRpcException
XmlRpcException
public static void registerCustomSerializer(XmlRpcCustomSerializer customSerializer)
public static void unregisterCustomSerializer(XmlRpcCustomSerializer customSerializer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |