|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.module.ModuleImpl
org.rometools.feed.module.yahooweather.YWeatherModuleImpl
public class YWeatherModuleImpl
A Module implementation for entry or feed level information.
Nested Class Summary | |
---|---|
static interface |
YWeatherModuleImpl.CopyFromInterface
|
Field Summary |
---|
Fields inherited from interface org.rometools.feed.module.yahooweather.YWeatherModule |
---|
URI |
Constructor Summary | |
---|---|
YWeatherModuleImpl()
|
Method Summary | |
---|---|
void |
copyFrom(com.sun.syndication.feed.CopyFrom o)
|
Astronomy |
getAstronomy()
Astronomical information for the location. |
Atmosphere |
getAtmosphere()
The current atmospheric conditions. |
Condition |
getCondition()
The current conditions. |
Forecast[] |
getForecasts()
Forecasts for this location. |
Class |
getInterface()
|
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 atmosphere)
Sets the current atmopheric condictions |
void |
setCondition(Condition condition)
The current conditions. |
void |
setForecasts(Forecast[] forecasts)
Forecasts for this location. |
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 class com.sun.syndication.feed.module.ModuleImpl |
---|
clone, equals, getUri, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.syndication.feed.module.Module |
---|
clone, getUri |
Constructor Detail |
---|
public YWeatherModuleImpl()
Method Detail |
---|
public Class getInterface()
getInterface
in interface com.sun.syndication.feed.CopyFrom
public void copyFrom(com.sun.syndication.feed.CopyFrom o)
copyFrom
in interface com.sun.syndication.feed.CopyFrom
public Location getLocation()
YWeatherFeedModule
getLocation
in interface YWeatherFeedModule
public void setLocation(Location location)
YWeatherFeedModule
setLocation
in interface YWeatherFeedModule
location
- The location the feed is for.public Astronomy getAstronomy()
YWeatherFeedModule
getAstronomy
in interface YWeatherFeedModule
public void setAstronomy(Astronomy astronomy)
YWeatherFeedModule
setAstronomy
in interface YWeatherFeedModule
astronomy
- Astronomical information for the location.public Units getUnits()
YWeatherFeedModule
getUnits
in interface YWeatherFeedModule
public void setUnits(Units units)
YWeatherFeedModule
setUnits
in interface YWeatherFeedModule
units
- Units that data in the feed is provided in.public Condition getCondition()
YWeatherEntryModule
getCondition
in interface YWeatherEntryModule
public void setCondition(Condition condition)
YWeatherEntryModule
setCondition
in interface YWeatherEntryModule
condition
- The current conditions.public Forecast[] getForecasts()
YWeatherEntryModule
getForecasts
in interface YWeatherEntryModule
public void setForecasts(Forecast[] forecasts)
YWeatherEntryModule
setForecasts
in interface YWeatherEntryModule
forecasts
- Forecasts for this location.public Wind getWind()
YWeatherFeedModule
getWind
in interface YWeatherFeedModule
public void setWind(Wind wind)
YWeatherFeedModule
setWind
in interface YWeatherFeedModule
wind
- Current wind conditions at the location.public Atmosphere getAtmosphere()
YWeatherFeedModule
getAtmosphere
in interface YWeatherFeedModule
public void setAtmosphere(Atmosphere atmosphere)
YWeatherFeedModule
setAtmosphere
in interface YWeatherFeedModule
atmosphere
- Atmosphere object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |