com.vaadin.server.communication
Class ConnectorTypeWriter

java.lang.Object
  extended by com.vaadin.server.communication.ConnectorTypeWriter
All Implemented Interfaces:
java.io.Serializable

public class ConnectorTypeWriter
extends java.lang.Object
implements java.io.Serializable

Serializes connector type mappings to JSON.

Since:
7.1
Author:
Vaadin Ltd
See Also:
Serialized Form

Constructor Summary
ConnectorTypeWriter()
           
 
Method Summary
 void write(UI ui, java.io.Writer writer, PaintTarget target)
          Writes a JSON object containing connector-ID-to-type-ID mappings for each dirty Connector in the given UI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorTypeWriter

public ConnectorTypeWriter()
Method Detail

write

public void write(UI ui,
                  java.io.Writer writer,
                  PaintTarget target)
           throws java.io.IOException
Writes a JSON object containing connector-ID-to-type-ID mappings for each dirty Connector in the given UI.

Parameters:
ui - The UI containing dirty connectors
writer - The Writer used to write the JSON.
target - The paint target containing the connector type IDs.
Throws:
java.io.IOException - If the serialization fails.


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