public class ConnectorHierarchyWriter extends Object implements Serializable
| Constructor and Description |
|---|
ConnectorHierarchyWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(UI ui,
Writer writer,
Set<String> stateUpdateConnectors)
Writes a JSON object containing the connector hierarchy (parent-child
mappings) of the dirty connectors in the given UI.
|
public void write(UI ui, Writer writer, Set<String> stateUpdateConnectors) throws IOException
ui - The UI whose hierarchy to write.writer - The Writer used to write the JSON.stateUpdateConnectors - connector ids with state changesIOException - If the serialization fails.Copyright © 2018 Vaadin Ltd. All rights reserved.