Interface YWeatherEntryModule
-
- All Superinterfaces:
Cloneable,CopyFrom,Module,Serializable,YWeatherModule
- All Known Subinterfaces:
YWeatherModuleImpl.CopyFromInterface
- All Known Implementing Classes:
YWeatherModuleImpl
public interface YWeatherEntryModule extends YWeatherModule
An interface describing the entry/item level data for Yahoo Weather.
-
-
Field Summary
-
Fields inherited from interface com.rometools.modules.yahooweather.YWeatherModule
URI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConditiongetCondition()The current conditions.Forecast[]getForecasts()Forecasts for this location.voidsetCondition(Condition condition)The current conditions.voidsetForecasts(Forecast[] forecasts)Forecasts for this location.-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
getCondition
Condition getCondition()
The current conditions.- Returns:
- The current conditions.
-
setCondition
void setCondition(Condition condition)
The current conditions.- Parameters:
condition- The current conditions.
-
getForecasts
Forecast[] getForecasts()
Forecasts for this location.- Returns:
- Forecasts for this location.
-
setForecasts
void setForecasts(Forecast[] forecasts)
Forecasts for this location.- Parameters:
forecasts- Forecasts for this location.
-
-