public class

CustomFieldSerializerValidator

extends Object
java.lang.Object
   ↳ com.google.gwt.user.rebind.rpc.CustomFieldSerializerValidator

Class Overview

Checks that a custom serializer is valid.

Summary

Public Methods
static JMethod getConcreteTypeMethod(JClassType serializer)
static JMethod getDeserializationMethod(JClassType serializer, JClassType serializee)
static JMethod getInstantiationMethod(JClassType serializer, JClassType serializee)
static JMethod getSerializationMethod(JClassType serializer, JClassType serializee)
static boolean hasDeserializationMethod(JClassType serializer, JClassType serializee)
static boolean hasInstantiationMethod(JClassType serializer, JClassType serializee)
static boolean hasSerializationMethod(JClassType serializer, JClassType serializee)
static List<String> validate(JClassType serializer, JClassType serializee)
Returns a list of error messages associated with the custom field serializer.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static JMethod getConcreteTypeMethod (JClassType serializer)

public static JMethod getDeserializationMethod (JClassType serializer, JClassType serializee)

public static JMethod getInstantiationMethod (JClassType serializer, JClassType serializee)

public static JMethod getSerializationMethod (JClassType serializer, JClassType serializee)

public static boolean hasDeserializationMethod (JClassType serializer, JClassType serializee)

public static boolean hasInstantiationMethod (JClassType serializer, JClassType serializee)

public static boolean hasSerializationMethod (JClassType serializer, JClassType serializee)

public static List<String> validate (JClassType serializer, JClassType serializee)

Returns a list of error messages associated with the custom field serializer.

Parameters
serializer the class which performs the serialization
serializee the class being serialized
Returns
  • list of error messages, if any, associated with the custom field serializer