org.jscience.earth.weather.cityforecast
Class CityForecastParser

java.lang.Object
  extended by org.jscience.earth.weather.cityforecast.CityForecastParser

public class CityForecastParser
extends java.lang.Object

DOCUMENT ME!


Field Summary
protected  java.lang.String city
          DOCUMENT ME!
protected  java.lang.String state
          DOCUMENT ME!
 
Constructor Summary
CityForecastParser()
          Creates a new CityForecastParser object.
 
Method Summary
protected  CityForecast parseForecast(java.lang.String text)
          DOCUMENT ME!
protected  CityForecastEntry parseForecastEntry(java.lang.String text)
          DOCUMENT ME!
 CityForecast retrieve()
          DOCUMENT ME!
 void setCity(java.lang.String newCity)
          DOCUMENT ME!
 void setState(java.lang.String newState)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state

protected java.lang.String state
DOCUMENT ME!


city

protected java.lang.String city
DOCUMENT ME!

Constructor Detail

CityForecastParser

public CityForecastParser()
Creates a new CityForecastParser object.

Method Detail

setState

public void setState(java.lang.String newState)
DOCUMENT ME!

Parameters:
newState - DOCUMENT ME!

setCity

public void setCity(java.lang.String newCity)
DOCUMENT ME!

Parameters:
newCity - DOCUMENT ME!

retrieve

public CityForecast retrieve()
                      throws java.io.IOException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!

parseForecast

protected CityForecast parseForecast(java.lang.String text)
DOCUMENT ME!

Parameters:
text - DOCUMENT ME!
Returns:
DOCUMENT ME!

parseForecastEntry

protected CityForecastEntry parseForecastEntry(java.lang.String text)
DOCUMENT ME!

Parameters:
text - DOCUMENT ME!
Returns:
DOCUMENT ME!