public class

TypeSerializerCreator

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

Class Overview

This class generates a class with name 'typeSerializerClassName' that is able to serialize and deserialize a set of types into or out of a stream. The set of types is obtained from the SerializableTypeOracle object.

Summary

Constants
String GWT_ELIDE_TYPE_NAMES_FROM_RPC Configuration property to use type indices instead of type signatures.
Public Constructors
TypeSerializerCreator(TreeLogger logger, SerializableTypeOracle serializationOracle, SerializableTypeOracle deserializationOracle, GeneratorContextExt context, String typeSerializerClassName, String typeSerializerSimpleName)
Public Methods
Map<JType, String> getTypeStrings()
String realize(TreeLogger logger)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String GWT_ELIDE_TYPE_NAMES_FROM_RPC

Configuration property to use type indices instead of type signatures.

Constant Value: "gwt.elideTypeNamesFromRPC"

Public Constructors

public TypeSerializerCreator (TreeLogger logger, SerializableTypeOracle serializationOracle, SerializableTypeOracle deserializationOracle, GeneratorContextExt context, String typeSerializerClassName, String typeSerializerSimpleName)

Throws
UnableToCompleteException

Public Methods

public Map<JType, String> getTypeStrings ()

public String realize (TreeLogger logger)