|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
WeatherInformation
Method Summary | |
java.lang.String |
getCelcius()
Get the current temperate as Celcius |
java.lang.String |
getFahrenheit()
Get the current temperature as Farenheit |
java.lang.String |
getHistoryUrl()
Get the URL containing a link to weather history information |
java.lang.String |
getLocation()
Get the Location of the Weather Station |
java.lang.String |
getProviderUrl()
Gets the URL required to fetch this resource |
java.lang.String |
getStationCode()
Get the Station Id |
java.lang.String |
getValueForTag(java.lang.String tag)
Get the value for a given tag from the parsed XML weather information |
java.lang.String |
getVisibility()
Get the current Visibility |
java.lang.String |
getWind()
Get the current Wind conditions |
void |
parseDocument(org.w3c.dom.Document document)
Parse an XML document containing weather related information |
Method Detail |
public void parseDocument(org.w3c.dom.Document document)
document
- XML document with weather informationpublic java.lang.String getFahrenheit()
public java.lang.String getCelcius()
public java.lang.String getLocation()
public java.lang.String getStationCode()
public java.lang.String getVisibility()
public java.lang.String getWind()
public java.lang.String getHistoryUrl()
public java.lang.String getProviderUrl()
public java.lang.String getValueForTag(java.lang.String tag)
tag
- Tag to retrieve
null
if the tag is not present
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |