|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.server.rpc.SerializationPolicy
public abstract class SerializationPolicy
This is an abstract class for representing the serialization policy for a
given module and
RemoteService
.
Constructor Summary | |
---|---|
SerializationPolicy()
|
Method Summary | |
---|---|
abstract boolean |
shouldDeserializeFields(java.lang.Class clazz)
Returns true if the class' fields should be deserialized. |
abstract boolean |
shouldSerializeFields(java.lang.Class clazz)
Returns true if the class' fields should be serialized. |
abstract void |
validateDeserialize(java.lang.Class clazz)
Validates that the specified class should be deserialized from a stream. |
abstract void |
validateSerialize(java.lang.Class clazz)
Validates that the specified class should be serialized into a stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SerializationPolicy()
Method Detail |
---|
public abstract boolean shouldDeserializeFields(java.lang.Class clazz)
true
if the class' fields should be deserialized.
clazz
- the class to test
true
if the class' fields should be deserializedpublic abstract boolean shouldSerializeFields(java.lang.Class clazz)
true
if the class' fields should be serialized.
clazz
- the class to test
true
if the class' fields should be serializedpublic abstract void validateDeserialize(java.lang.Class clazz) throws SerializationException
clazz
- the class to validate
SerializationException
- if the class is not allowed to be
deserializedpublic abstract void validateSerialize(java.lang.Class clazz) throws SerializationException
clazz
- the class to validate
SerializationException
- if the class is not allowed to be serialized
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |