Module com.rometools.rome.modules
Interface YWeatherFeedModule
-
- All Superinterfaces:
Cloneable
,CopyFrom
,Module
,Serializable
,YWeatherModule
- All Known Subinterfaces:
YWeatherModuleImpl.CopyFromInterface
- All Known Implementing Classes:
YWeatherModuleImpl
public interface YWeatherFeedModule extends YWeatherModule
An interface describing feed/channel 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 Astronomy
getAstronomy()
Astronomical information for the location.Atmosphere
getAtmosphere()
The current atmospheric conditions.Location
getLocation()
The location the feed is for.Units
getUnits()
Units that data in the feed is provided in.Wind
getWind()
Current wind conditions at the location.void
setAstronomy(Astronomy astronomy)
Astronomical information for the location.void
setAtmosphere(Atmosphere value)
Sets the current atmopheric condictions.void
setLocation(Location location)
The location the feed is for.void
setUnits(Units units)
Units that data in the feed is provided in.void
setWind(Wind wind)
Current wind conditions at the location.-
Methods inherited from interface com.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
getLocation
Location getLocation()
The location the feed is for.- Returns:
- The location the feed is for.
-
setLocation
void setLocation(Location location)
The location the feed is for.- Parameters:
location
- The location the feed is for.
-
getAstronomy
Astronomy getAstronomy()
Astronomical information for the location.- Returns:
- Astronomical information for the location.
-
setAstronomy
void setAstronomy(Astronomy astronomy)
Astronomical information for the location.- Parameters:
astronomy
- Astronomical information for the location.
-
getUnits
Units getUnits()
Units that data in the feed is provided in.- Returns:
- Units that data in the feed is provided in.
-
setUnits
void setUnits(Units units)
Units that data in the feed is provided in.- Parameters:
units
- Units that data in the feed is provided in.
-
getWind
Wind getWind()
Current wind conditions at the location.- Returns:
- Current wind conditions at the location.
-
setWind
void setWind(Wind wind)
Current wind conditions at the location.- Parameters:
wind
- Current wind conditions at the location.
-
getAtmosphere
Atmosphere getAtmosphere()
The current atmospheric conditions.- Returns:
- Atmosphere object.
-
setAtmosphere
void setAtmosphere(Atmosphere value)
Sets the current atmopheric condictions.- Parameters:
value
- Atmosphere object.
-
-