com.vaadin.server.communication
Class LegacyUidlWriter

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

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

Serializes legacy UIDL changes to JSON.

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

Constructor Summary
LegacyUidlWriter()
           
 
Method Summary
 void write(UI ui, java.io.Writer writer, PaintTarget target)
          Writes a JSON array containing the changes of all dirty LegacyComponents in the given UI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyUidlWriter

public LegacyUidlWriter()
Method Detail

write

public void write(UI ui,
                  java.io.Writer writer,
                  PaintTarget target)
           throws java.io.IOException
Writes a JSON array containing the changes of all dirty LegacyComponents in the given UI.

Parameters:
ui - The UI whose legacy changes to write
writer - The Writer to write the JSON with
target - The PaintTarget to use
Throws:
java.io.IOException - If the serialization fails.


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