|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fhkl.zw.mkup.rattrap.Countries
public class Countries
This class hands the data of the user's homecountry to other classes.
Constructor Summary | |
---|---|
Countries()
The constructor reads the XML file, which contains the country data. |
Method Summary | |
---|---|
static java.util.List |
getCountries()
|
static org.jdom.Document |
getDoc()
Static method, so that embedded class WorldMap can access this information. |
static void |
getEntry(java.lang.String country)
The method gets longitude and latitude of a country from the parsed list. |
static java.util.Hashtable |
getHash()
Static method, so that embedded class WorldMap can access this information. |
static java.lang.String |
getHomeCountry()
Static method, so that embedded class WorldMap can access this information. |
static org.jdom.Element |
getRoot()
Static method, so that embedded class WorldMap can access this information. |
static void |
setHomeCountry(java.lang.String homeCountry)
Static method, so that embedded class WorldMap can access this information. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Countries()
Method Detail |
---|
public static void getEntry(java.lang.String country)
country:
- The name of the country.public static java.util.List getCountries()
public static java.util.Hashtable getHash()
public static org.jdom.Document getDoc()
public static org.jdom.Element getRoot()
public static java.lang.String getHomeCountry()
public static void setHomeCountry(java.lang.String homeCountry)
homeCountry
- The homeCountry to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |