Interface ThingSerializer

All Superinterfaces:
ObjectSerializer<Thing>
All Known Implementing Classes:
AbstractThingSerializer

@NonNullByDefault public interface ThingSerializer extends ObjectSerializer<Thing>
ThingSerializer is the interface to implement by any file generator for Thing object.
Author:
Laurent Garnier - Initial contribution
  • Method Details

    • setThingsToBeSerialized

      void setThingsToBeSerialized(String id, List<Thing> things, boolean hideDefaultChannels, boolean hideDefaultParameters)
      Specify the List of Things to serialize and associate them with an identifier.
      Parameters:
      id - the identifier of the Thing format generation.
      things - the List of Things to serialize.
      hideDefaultChannels - true to hide the non extensible channels having a default configuration.
      hideDefaultParameters - true to hide the configuration parameters having a default value.