com.vaadin.terminal.gwt.client.communication
Interface SerializerMap


public interface SerializerMap

Provide a mapping from a type (communicated between the server and the client) and a JSONSerializer instance. An implementation of this class is created at GWT compilation time by SerializerMapGenerator, so this interface can be instantiated with GWT.create().

Since:
7.0

Method Summary
 JSONSerializer getSerializer(String type)
          Returns a serializer instance for a given type.
 

Method Detail

getSerializer

JSONSerializer getSerializer(String type)
Returns a serializer instance for a given type.

Parameters:
type - type communicated on between the server and the client (currently fully qualified class name)
Returns:
serializer instance, not null
Throws:
RuntimeException - if no serializer is found


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.