public interface Serializer
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserialize(org.w3c.dom.Element content)
This method takes an xml type element and deserialize it to an object.
|
XmlElement |
serialize(java.lang.Object object)
This method takes an object and returns a representation as a string
containing the right xml type tag.
|
java.lang.Object deserialize(org.w3c.dom.Element content)
throws XMLRPCException
content - Must be an xml element of a specific type.XMLRPCException - Will be thrown whenervt the deserialization fails.XmlElement serialize(java.lang.Object object)
object - The object that should be serialized.