use of org.openhab.binding.weather.WeatherBindingProvider in project openhab1-addons by openhab.
the class ItemIterator method iterate.
/**
* Iterates through all items and calls the callback.
*/
public void iterate(ItemIteratorCallback callback) {
for (WeatherBindingProvider provider : context.getProviders()) {
for (String itemName : provider.getItemNames()) {
WeatherBindingConfig bindingConfig = provider.getBindingFor(itemName);
callback.next(bindingConfig, itemName);
}
}
}
Aggregations