Class SimpleSerializationPolicy


  • public class SimpleSerializationPolicy
    extends com.google.gwt.user.server.rpc.SerializationPolicy
    Serialization policy that allows the serialization of all the classes and fields.
    Author:
    Jerome Louvel
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.gwt.user.server.rpc.SerializationPolicy getInstance()
      Returns the common instance of this simple policy file.
      boolean shouldDeserializeFields​(java.lang.Class<?> clazz)  
      boolean shouldSerializeFields​(java.lang.Class<?> clazz)  
      void validateDeserialize​(java.lang.Class<?> clazz)  
      void validateSerialize​(java.lang.Class<?> clazz)  
      • Methods inherited from class com.google.gwt.user.server.rpc.SerializationPolicy

        getClientFieldNamesForEnhancedClass, shouldSerializeFinalFields
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleSerializationPolicy

        public SimpleSerializationPolicy()
    • Method Detail

      • getInstance

        public static com.google.gwt.user.server.rpc.SerializationPolicy getInstance()
        Returns the common instance of this simple policy file.
        Returns:
        The common instance of this simple policy file.
      • shouldDeserializeFields

        public boolean shouldDeserializeFields​(java.lang.Class<?> clazz)
        Specified by:
        shouldDeserializeFields in class com.google.gwt.user.server.rpc.SerializationPolicy
      • shouldSerializeFields

        public boolean shouldSerializeFields​(java.lang.Class<?> clazz)
        Specified by:
        shouldSerializeFields in class com.google.gwt.user.server.rpc.SerializationPolicy
      • validateDeserialize

        public void validateDeserialize​(java.lang.Class<?> clazz)
                                 throws com.google.gwt.user.client.rpc.SerializationException
        Specified by:
        validateDeserialize in class com.google.gwt.user.server.rpc.SerializationPolicy
        Throws:
        com.google.gwt.user.client.rpc.SerializationException
      • validateSerialize

        public void validateSerialize​(java.lang.Class<?> clazz)
                               throws com.google.gwt.user.client.rpc.SerializationException
        Specified by:
        validateSerialize in class com.google.gwt.user.server.rpc.SerializationPolicy
        Throws:
        com.google.gwt.user.client.rpc.SerializationException