Class AbstractSerializer

  • All Implemented Interfaces:, 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
    James Sutherland
    • 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
    • Constructor Detail

      • AbstractSerializer

        public AbstractSerializer()
    • Method Detail

      • getType

        public java.lang.Class getType()
        Specified by:
        getType in interface Serializer
      • initialize

        public void initialize​(java.lang.Class serializeClass,
                               java.lang.String serializePackage,
                               Session session)
        Specified by:
        initialize in interface Serializer
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object