org.deegree_impl.clients.wcasclient.configuration
Class CSWClientConfiguration

java.lang.Object
  extended byorg.deegree_impl.clients.wcasclient.configuration.CSWClientConfiguration

public class CSWClientConfiguration
extends java.lang.Object

Author:
Administrator

Field Summary
private  CCatalog[] ccatalog
           
private static CSWClientConfiguration conf
           
private  Download download
           
private  java.lang.String[] filterIDs
           
private  CMapping mapping
           
private  int maxInactiveInterval
           
private  int maxRecords
           
private  int queryScope
           
private  GM_Envelope rootBoundingBox
           
private  TextComponent textComponent
           
private  java.util.HashMap thesauri
           
private  WMSClientConfiguration wmsCConfig
           
 
Constructor Summary
(package private) CSWClientConfiguration(CCatalog[] ccatalog, CMapping mapping, int maxInactiveInterval, WMSClientConfiguration wmsCConfig, java.util.HashMap thesauri, Download download, TextComponent textComponent, int maxRecords, java.lang.String[] filterIDs)
          creates an instance of the Configuration
 
Method Summary
 java.lang.String[] getCatalogElements(java.lang.String htmlField)
          returns the catalog (iso-) elements that shall be targeted by a html form element
 java.lang.String[] getCatalogNames()
          returns the names of all servered catalogs
 java.net.URL getCatalogServerAddress(java.lang.String catalogName)
          returns the address of the submitted catalog
 java.net.URL[] getCatalogServerAddresses()
          returns the addresses of all connected catalogs
 Download getDownload()
          returns the address of the host for sending the mails that inform the users about the place where to download the requested data
 java.lang.String[] getFilterIDs()
          returns an array of IDs that marks UDK objects that are valid for the catalog
 java.lang.String[] getFormElements(java.lang.String catalogField)
          returns the catalog (iso-) elements that shall be targeted by a html form element
static CSWClientConfiguration getInstance()
          returns an instance of the Configuration class.
static CSWClientConfiguration getInstance(java.net.URL confURL)
          returns an instance of the Configuration class and initializes a new one if nessecary (singleton pattern)
 int getMaxRecords()
          returns the maximum number records requested in a GetRecord request.
 int getMaxSessionLifeTime()
          returns the maximun time a session will be alive after the last change in seconds
 int getQueryScope()
          returns the maximum number (iterations) to cascaded catalogs that shall be performed.
 GM_Envelope getRootBoundingBox()
          returns the bounding box of the maximum area that shall be searched for (meta)data.
 TextComponent getTextComponent()
          returns an object that enables access to all text componentes that are needed within the application for dynamic message generation
 java.net.URL getThesaurusAddress(java.lang.String thesaurus)
          returns the address of the submitted thesaurus
 java.lang.String[] getThesaurusNames()
          returns the names of the thesauri known by the client
 WMSClientConfiguration getWMSClientConfiguration()
          returns the configuration of the map client used by the catalogclient for searching and displaying the results.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

conf

private static CSWClientConfiguration conf

mapping

private CMapping mapping

thesauri

private java.util.HashMap thesauri

download

private Download download

textComponent

private TextComponent textComponent

ccatalog

private CCatalog[] ccatalog

wmsCConfig

private WMSClientConfiguration wmsCConfig

maxInactiveInterval

private int maxInactiveInterval

filterIDs

private java.lang.String[] filterIDs

maxRecords

private int maxRecords

queryScope

private int queryScope

rootBoundingBox

private GM_Envelope rootBoundingBox
Constructor Detail

CSWClientConfiguration

CSWClientConfiguration(CCatalog[] ccatalog,
                       CMapping mapping,
                       int maxInactiveInterval,
                       WMSClientConfiguration wmsCConfig,
                       java.util.HashMap thesauri,
                       Download download,
                       TextComponent textComponent,
                       int maxRecords,
                       java.lang.String[] filterIDs)
                 throws java.lang.Exception
creates an instance of the Configuration

Parameters:
ccatalog -
mapping -
maxInactiveInterval -
wmsCConfig -
thesauri -
download -
textComponent -
maxRecords -
filterIDs -
Throws:
java.lang.Exception
Method Detail

getInstance

public static CSWClientConfiguration getInstance(java.net.URL confURL)
                                          throws java.lang.Exception
returns an instance of the Configuration class and initializes a new one if nessecary (singleton pattern)

Throws:
java.lang.Exception

getInstance

public static CSWClientConfiguration getInstance()
returns an instance of the Configuration class. If no instance have been initializes before an exception will be thrown


getCatalogServerAddresses

public java.net.URL[] getCatalogServerAddresses()
returns the addresses of all connected catalogs


getCatalogServerAddress

public java.net.URL getCatalogServerAddress(java.lang.String catalogName)
returns the address of the submitted catalog


getCatalogNames

public java.lang.String[] getCatalogNames()
returns the names of all servered catalogs


getCatalogElements

public java.lang.String[] getCatalogElements(java.lang.String htmlField)
returns the catalog (iso-) elements that shall be targeted by a html form element


getFormElements

public java.lang.String[] getFormElements(java.lang.String catalogField)
returns the catalog (iso-) elements that shall be targeted by a html form element


getMaxSessionLifeTime

public int getMaxSessionLifeTime()
returns the maximun time a session will be alive after the last change in seconds


getThesaurusAddress

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


getThesaurusNames

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


getDownload

public Download getDownload()
returns the address of the host for sending the mails that inform the users about the place where to download the requested data


getTextComponent

public TextComponent getTextComponent()
returns an object that enables access to all text componentes that are needed within the application for dynamic message generation


getFilterIDs

public java.lang.String[] getFilterIDs()
returns an array of IDs that marks UDK objects that are valid for the catalog


getMaxRecords

public int getMaxRecords()
returns the maximum number records requested in a GetRecord request.


getQueryScope

public int getQueryScope()
returns the maximum number (iterations) to cascaded catalogs that shall be performed.


getRootBoundingBox

public GM_Envelope getRootBoundingBox()
returns the bounding box of the maximum area that shall be searched for (meta)data. This parameter will be extracted from the searchmap parameter


getWMSClientConfiguration

public WMSClientConfiguration getWMSClientConfiguration()
returns the configuration of the map client used by the catalogclient for searching and displaying the results.


toString

public java.lang.String toString()
Returns: