Class ConfigDescriptionParameterConverter

java.lang.Object
org.openhab.core.config.core.xml.util.GenericUnmarshaller<ConfigDescriptionParameter>
org.openhab.core.config.core.xml.ConfigDescriptionParameterConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

@NonNullByDefault public class ConfigDescriptionParameterConverter extends GenericUnmarshaller<ConfigDescriptionParameter>
The ConfigDescriptionParameterConverter is a concrete implementation of the XStream Converter interface used to convert config description parameters information within an XML document into a ConfigDescriptionParameter object.

This converter converts parameter XML tags.

Author:
Michael Grammling - Initial contribution, Alex Tugarev - Extended for options and filter criteria, Chris Jackson - Modified to use config parameter builder. Added parameters., Thomas Höfer - Added unit
  • Constructor Details

    • ConfigDescriptionParameterConverter

      public ConfigDescriptionParameterConverter()
  • Method Details

    • unmarshal

      public @Nullable Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context)