com.vaadin.ui.declarative.

Interface ShouldWriteDataDelegate

    • Field Summary

      Fields
      Modifier and Type Field Description
      static ShouldWriteDataDelegate DEFAULT

      The default delegate implementation that assumes that all component data is provided by a data provider connected to a back end system and that the data should thus not be written.

    • Method Summary

      All Methods
      Modifier and Type Method Description
      boolean shouldWriteData​(Component component)

      Determines whether the container data of a component should be written out.

    • Field Detail

      • DEFAULT

        static final ShouldWriteDataDelegate DEFAULT

        The default delegate implementation that assumes that all component data is provided by a data provider connected to a back end system and that the data should thus not be written.

    • Method Detail

      • shouldWriteData

        boolean shouldWriteData​(Component component)

        Determines whether the container data of a component should be written out.

        Parameters:

        component - the component to check

        Returns:

        true if container data should be written out for the provided component; otherwise false.