org.deegree_impl.clients.gazetteer.configuration
Class GazetteerClientConfiguration

java.lang.Object
  extended byorg.deegree_impl.clients.gazetteer.configuration.GazetteerClientConfiguration

public class GazetteerClientConfiguration
extends java.lang.Object

enables access to the configuration parameters of the gazetteer client. Mainly these are the names and addresses of the gazetteers services to be called

Since:
1.1
Version:
$Revision: 1.1 $, 1.0. $Revision: 1.1 $, $Date: 2004/03/24 12:36:22 $
Author:
Andreas Poth, last edited by: $Author: poth $

Field Summary
private static GazetteerClientConfiguration conf
           
private  java.util.HashMap gazetteers
           
 
Constructor Summary
(package private) GazetteerClientConfiguration(java.util.HashMap gazetteers)
          Creates a new GazetteerClientConfiguration object.
 
Method Summary
 java.net.URL getGazetteerAddress(java.lang.String gazetteer)
          returns the address of the submitted thesaurus
 java.lang.String[] getGazetteerNames()
          returns the names of the thesauri known by the client
static GazetteerClientConfiguration getInstance()
           
static GazetteerClientConfiguration getInstance(java.net.URL confURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conf

private static GazetteerClientConfiguration conf

gazetteers

private java.util.HashMap gazetteers
Constructor Detail

GazetteerClientConfiguration

GazetteerClientConfiguration(java.util.HashMap gazetteers)
Creates a new GazetteerClientConfiguration object.

Parameters:
gazetteers -
Method Detail

getInstance

public static GazetteerClientConfiguration getInstance(java.net.URL confURL)
                                                throws java.lang.Exception
Parameters:
confURL -
Returns:
Throws:
java.lang.Exception

getInstance

public static GazetteerClientConfiguration getInstance()
Returns:

getGazetteerAddress

public java.net.URL getGazetteerAddress(java.lang.String gazetteer)
returns the address of the submitted thesaurus


getGazetteerNames

public java.lang.String[] getGazetteerNames()
returns the names of the thesauri known by the client