public class Base64Serializer extends Object implements Serializer
Constructor and Description |
---|
Base64Serializer() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(Element content)
This method takes an xml type element and deserialize it to an object.
|
XmlElement |
serialize(Object object)
This method takes an object and returns a representation as a string
containing the right xml type tag.
|
public Object deserialize(Element content) throws XMLRPCException
Serializer
deserialize
in interface Serializer
content
- Must be an xml element of a specific type.XMLRPCException
- Will be thrown whenervt the deserialization fails.public XmlElement serialize(Object object)
Serializer
serialize
in interface Serializer
object
- The object that should be serialized.Copyright © 2018. All rights reserved.