|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.communication.ConnectorHierarchyWriter
public class ConnectorHierarchyWriter
Serializes a connector hierarchy to JSON.
| Constructor Summary | |
|---|---|
ConnectorHierarchyWriter()
|
|
| Method Summary | |
|---|---|
void |
write(UI ui,
java.io.Writer writer,
java.util.Set<java.lang.String> stateUpdateConnectors)
Writes a JSON object containing the connector hierarchy (parent-child mappings) of the dirty connectors in the given UI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectorHierarchyWriter()
| Method Detail |
|---|
public void write(UI ui,
java.io.Writer writer,
java.util.Set<java.lang.String> stateUpdateConnectors)
throws java.io.IOException
ui - The UI whose hierarchy to write.writer - The Writer used to write the JSON.stateUpdateConnectors - connector ids with state changes
java.io.IOException - If the serialization fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||