java.lang .Object org.wfp.vam.intermap.kernel.map .DefaultMapServers DefaultMapServers public class DefaultMapServers (Code) This class holds informations about map servers listed in the map servers
configuration file.
getContext public static Element getContext(int id)(Code)
getContexts public static Element getContexts()(Code) Selects all default map contexts
an Element containing all default contexts
getDefaultContext public static Element getDefaultContext()(Code) author: ETj
getServers public static Element getServers()(Code) Selects all default map servers
an Element containing all default map servers
getServers public static Element getServers(String type)(Code) Selects all default map servers having the selected type attribute
Parameters: type - map server type an Element containing the selected map servers
getType public static int getType(String id) throws Exception (Code) Returns the type of the selected default map server
Parameters: id - a String the type of the mapserver identified by id, 0 if no serverfoundthrows: Exception -
getUrl public static String getUrl(String id) throws Exception (Code) Returns the url of the selected default mapserver
Parameters: id - a String the url of the mapserver identified by id, null if no serverfoundthrows: Exception -
init public static void init(Element config)(Code) Initializes map servers configuration
Parameters: config - an Element