public class XMLSerializer extends AbstractSerializer
Constructor and Description |
---|
XMLSerializer() |
XMLSerializer(JAXBContext context) |
XMLSerializer(java.lang.String packageName) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(java.lang.Object xml,
Session session) |
java.lang.Class |
getType() |
void |
initialize(java.lang.Class serializeClass,
java.lang.String serializePackage,
Session session) |
java.lang.Object |
serialize(java.lang.Object object,
Session session) |
java.lang.String |
toString() |
public XMLSerializer()
public XMLSerializer(java.lang.String packageName)
public XMLSerializer(JAXBContext context)
public void initialize(java.lang.Class serializeClass, java.lang.String serializePackage, Session session)
initialize
in interface Serializer
initialize
in class AbstractSerializer
public java.lang.Object serialize(java.lang.Object object, Session session)
public java.lang.Object deserialize(java.lang.Object xml, Session session)
public java.lang.Class getType()
getType
in interface Serializer
getType
in class AbstractSerializer
public java.lang.String toString()
toString
in class AbstractSerializer