Package com.vaadin.flow.internal.change
Class EmptyChange
java.lang.Object
com.vaadin.flow.internal.change.NodeChange
com.vaadin.flow.internal.change.NodeFeatureChange
com.vaadin.flow.internal.change.EmptyChange
- All Implemented Interfaces:
Serializable
Empty change for the feature to report its presence for the client (send the
feature information even though its data is empty).
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpopulateJson(tools.jackson.databind.node.ObjectNode json, ConstantPool constantPool) Overridden by subclasses to populate a JSON object when serializing.Methods inherited from class com.vaadin.flow.internal.change.NodeFeatureChange
getFeatureMethods inherited from class com.vaadin.flow.internal.change.NodeChange
getNode, toJson
-
Constructor Details
-
EmptyChange
Creates a new empty change.- Parameters:
feature- the feature to populate on the client
-
-
Method Details
-
populateJson
Description copied from class:NodeChangeOverridden by subclasses to populate a JSON object when serializing.- Overrides:
populateJsonin classNodeFeatureChange- Parameters:
json- the json object to populateconstantPool- the constant pool to use for serializing constant pool references
-