Class AbstractSerializer
- java.lang.Object
-
- org.eclipse.persistence.sessions.serializers.AbstractSerializer
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,Serializer
- Direct Known Subclasses:
JavaSerializer
,XMLSerializer
public abstract class AbstractSerializer extends java.lang.Object implements Serializer
Abstract Serializer class. All serializers should subclass this class to be backward compatible.- See Also:
- Serialized Form
- Author:
- James Sutherland
-
-
Constructor Summary
Constructors Constructor Description AbstractSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class
getType()
void
initialize(java.lang.Class serializeClass, java.lang.String serializePackage, Session session)
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.sessions.serializers.Serializer
deserialize, serialize
-
-
-
-
Method Detail
-
getType
public java.lang.Class getType()
- Specified by:
getType
in interfaceSerializer
-
initialize
public void initialize(java.lang.Class serializeClass, java.lang.String serializePackage, Session session)
- Specified by:
initialize
in interfaceSerializer
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-