Package org.restlet.ext.gwt
Class SimpleSerializationPolicy
- java.lang.Object
-
- com.google.gwt.user.server.rpc.SerializationPolicy
-
- org.restlet.ext.gwt.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
-
-
Constructor Summary
Constructors Constructor Description SimpleSerializationPolicy()
-
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)
-
-
-
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 classcom.google.gwt.user.server.rpc.SerializationPolicy
-
shouldSerializeFields
public boolean shouldSerializeFields(java.lang.Class<?> clazz)
- Specified by:
shouldSerializeFields
in classcom.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 classcom.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 classcom.google.gwt.user.server.rpc.SerializationPolicy
- Throws:
com.google.gwt.user.client.rpc.SerializationException
-
-