Interface RootUIComponentParser
- All Superinterfaces:
ObjectParser<UIComponent>,UIComponentParser
RootUIComponentParser is the interface to implement by any format parser for RootUIComponent
objects.- Author:
- Ravi Nadahar - Initial contribution
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends RootUIComponent> getParsedObjects(String modelName) Get a copy of the collection ofRootUIComponentobjects that were found when parsing the format.Methods inherited from interface org.openhab.core.converter.ObjectParser
finishParsingFormat, getParserFormatMethods inherited from interface org.openhab.core.ui.components.converter.UIComponentParser
startParsingFormat
-
Method Details
-
getParsedObjects
Get a copy of the collection ofRootUIComponentobjects that were found when parsing the format.- Specified by:
getParsedObjectsin interfaceObjectParser<UIComponent>- Specified by:
getParsedObjectsin interfaceUIComponentParser- Parameters:
modelName- the model name used when parsing.- Returns:
- The
CollectionofRootUIComponents. - Implementation note:
- It's important that a copy of the
Collectionis returned, so that invokingObjectParser.finishParsingFormat(String)doesn't modify the returned result.
-