com.google.gwt.user.rebind.rpc
Class CustomFieldSerializerValidator
java.lang.Object
com.google.gwt.user.rebind.rpc.CustomFieldSerializerValidator
public class CustomFieldSerializerValidator
- extends java.lang.Object
Checks that a custom serializer is valid.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDeserializationMethod
public static JMethod getDeserializationMethod(JClassType serializer,
JClassType serializee)
getInstantiationMethod
public static JMethod getInstantiationMethod(JClassType serializer,
JClassType serializee)
getSerializationMethod
public static JMethod getSerializationMethod(JClassType serializer,
JClassType serializee)
hasDeserializationMethod
public static boolean hasDeserializationMethod(JClassType serializer,
JClassType serializee)
hasInstantiationMethod
public static boolean hasInstantiationMethod(JClassType serializer,
JClassType serializee)
hasSerializationMethod
public static boolean hasSerializationMethod(JClassType serializer,
JClassType serializee)
validate
public static java.util.List<java.lang.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 serializationserializee - the class being serialized
- Returns:
- list of error messages, if any, associated with the custom field
serializer