Package org.openhab.core.semantics.model
Class DefaultSemanticTagProvider
java.lang.Object
org.openhab.core.semantics.model.DefaultSemanticTagProvider
- All Implemented Interfaces:
Provider<SemanticTag>
,SemanticTagProvider
@NonNullByDefault
public class DefaultSemanticTagProvider
extends Object
implements SemanticTagProvider
This class defines a provider of all default semantic tags.
- Author:
- Generated from generateTagClasses.groovy - Initial contribution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds aProviderChangeListener
which must be notified if there are changes concerning the elements provided by theProvider
.getAll()
Returns a collection of all elements.void
Removes aProviderChangeListener
.
-
Constructor Details
-
DefaultSemanticTagProvider
public DefaultSemanticTagProvider()
-
-
Method Details
-
getAll
Description copied from interface:Provider
Returns a collection of all elements.- Specified by:
getAll
in interfaceProvider<SemanticTag>
- Returns:
- collection of all elements
-
addProviderChangeListener
Description copied from interface:Provider
Adds aProviderChangeListener
which must be notified if there are changes concerning the elements provided by theProvider
.- Specified by:
addProviderChangeListener
in interfaceProvider<SemanticTag>
- Parameters:
listener
- the listener to be added
-
removeProviderChangeListener
Description copied from interface:Provider
Removes aProviderChangeListener
.- Specified by:
removeProviderChangeListener
in interfaceProvider<SemanticTag>
- Parameters:
listener
- the listener to be removed.
-