|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectredstone.xmlrpc.serializers.MapSerializer
redstone.xmlrpc.serializers.PointSerializer
public class PointSerializer
Constructor Summary | |
---|---|
PointSerializer()
|
Method Summary | |
---|---|
java.lang.Class |
getSupportedClass()
Returns the class of objects this serializer knows how to handle. |
void |
serialize(java.lang.Object value,
java.io.Writer output,
XmlRpcSerializer builtInSerializer)
Asks the custom serializer to serialize the supplied value into the supplied writer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PointSerializer()
Method Detail |
---|
public java.lang.Class getSupportedClass()
XmlRpcCustomSerializer
getSupportedClass
in interface XmlRpcCustomSerializer
getSupportedClass
in class MapSerializer
public void serialize(java.lang.Object value, java.io.Writer output, XmlRpcSerializer builtInSerializer) throws XmlRpcException, java.io.IOException
XmlRpcCustomSerializer
serialize
in interface XmlRpcCustomSerializer
serialize
in class MapSerializer
value
- The object to serialize.output
- The writer to place the serialized data.builtInSerializer
- The built-in serializer used by the client or the server.
XmlRpcException
- if the value somehow could not be serialized. Many serializers
rely on the built in serializer which also may throw this
exception.
java.io.IOException
- if there was an error serializing the value through the
writer. The exception is the exception thrown by the
writer, which in most cases will be a StringWriter, in which
case this exception will never occurr. XmlRpcSerializer and
custom serializers may, however, be used outside of the
XML-RPC library to encode information in XML-RPC structs, in
which case the writer potentially could be writing the
information over a socket stream for instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |