public class IntSerializer extends Object implements Serializer
| Constructor and Description |
|---|
IntSerializer() |
| 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
Serializerdeserialize in interface Serializercontent - Must be an xml element of a specific type.XMLRPCException - Will be thrown whenervt the deserialization fails.public XmlElement serialize(Object object)
Serializerserialize in interface Serializerobject - The object that should be serialized.Copyright © 2016. All rights reserved.