Package org.openhab.core.model.sitemap
Interface SitemapProvider
@NonNullByDefault
public interface SitemapProvider
- 
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a listener which will be informed subsequently once a model has changed@Nullable SitemapgetSitemap(String sitemapName) This method provides access to sitemap model files, loads them and returns the object model tree.Returns the names of all available sitemapsvoidRemove a model change listener again 
- 
Method Details
- 
getSitemap
This method provides access to sitemap model files, loads them and returns the object model tree.- Parameters:
 sitemapName- the name of the sitemap to load- Returns:
 - the object model tree, null if it is not found
 
 - 
getSitemapNames
Returns the names of all available sitemaps- Returns:
 - names of provided sitemaps
 
 - 
addModelChangeListener
Add a listener which will be informed subsequently once a model has changed- Parameters:
 listener-
 - 
removeModelChangeListener
Remove a model change listener again- Parameters:
 listener-
 
 -