deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.standard.csw.configuration
Class CSWClientConfiguration

java.lang.Object
  extended by org.deegree.portal.standard.csw.configuration.CSWClientConfiguration

public class CSWClientConfiguration
extends java.lang.Object

This class stores the parameters defined in the WMC, so that the csw module can use them

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Judit Mays, last edited by: $Author: mschneider $

Constructor Summary
CSWClientConfiguration()
           
 
Method Summary
 void addCatalogueFormat(java.lang.String catalogueName, java.util.List<java.lang.String> formatList)
           
 void addCatalogueProtocol(java.lang.String catalogueName, java.util.List<java.lang.String> protocolList)
           
 void addCatalogueURL(java.lang.String catalogueName, java.lang.String catURL)
           
 void addProfileXSL(java.lang.String profileName, java.util.HashMap<java.lang.String,java.lang.String> elementSetKeyToXSL)
           
 java.util.List getCatalogFormats(java.lang.String catalogName)
           
 java.lang.String[] getCatalogNames()
           
 java.util.List getCatalogProtocols(java.lang.String catalogName)
           
 java.lang.String getCatalogServerAddress(java.lang.String catalogName)
           
 java.lang.String[] getCatalogServerAddresses()
           
 java.util.Map getCatalogToFormatMap()
           
 java.util.Map getCatalogToProtocolMap()
           
 java.util.Map getCatalogToUrlMap()
           
 java.lang.String[] getFilterIDs()
           
 java.lang.String[] getFormElements(java.lang.String catalogField)
           
 java.lang.String getMapContextTemplatePath()
          Method is needed for shopping cart, but shopping cart is currently disabled TODO when shopping cart is enabled again, please adjust javadoc!
 int getMaxRecords()
           
 int getMaxSessionLifeTime()
           
 java.util.Map getProfilesToXsl()
           
 java.util.HashMap getProfileXSL(java.lang.String profileName)
           
 java.lang.String[] getProtocolNames()
           
 int getQueryScope()
           
 Envelope getRootBoundingBox()
           
 java.util.List<java.lang.String> getServiceMetadataCatalogs()
           
 java.lang.String getSrs()
           
 java.net.URL getThesaurusAddress(java.lang.String thesaurus)
           
 java.lang.String[] getThesaurusNames()
           
 java.lang.String getXPathToDataIdentifier()
           
 java.lang.String getXPathToDataTitle()
           
 java.lang.String getXPathToServiceAddress()
           
 java.lang.String getXPathToServiceIdentifier()
           
 java.lang.String getXPathToServiceOperatesOnTitle()
           
 java.lang.String getXPathToServiceTitle()
           
 java.lang.String getXPathToServiceType()
           
 java.lang.String getXPathToServiceTypeVersion()
           
 void setMapContextTemplatePath(java.lang.String mapContextTemplatePath)
          method is needed for shopping cart, but shopping cart is currently disabled TODO when shopping cart is enabled again, please adjust javadoc!
 void setMaxRecords(int maxRecords)
           
 void setSrs(java.lang.String srs)
           
 void setXPathToDataIdentifier(java.lang.String pathToIdentifier)
           
 void setXPathToDataTitle(java.lang.String pathToDataTitle)
           
 void setXPathToServiceAddress(java.lang.String pathToServiceAddress)
           
 void setXPathToServiceIdentifier(java.lang.String pathToServiceIdentifier)
           
 void setXPathToServiceOperatesOnTitle(java.lang.String pathToServiceOperatesOnTitle)
           
 void setXPathToServiceTitle(java.lang.String pathToServiceTitle)
           
 void setXPathToServiceType(java.lang.String pathToServiceType)
           
 void setXPathToServiceTypeVersion(java.lang.String pathToServiceTypeVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSWClientConfiguration

public CSWClientConfiguration()
Method Detail

getCatalogNames

public java.lang.String[] getCatalogNames()
Returns:
Returns the names of all served catalogs

getCatalogServerAddresses

public java.lang.String[] getCatalogServerAddresses()
Returns:
Returns the addresses of all served catalogs

getCatalogServerAddress

public java.lang.String getCatalogServerAddress(java.lang.String catalogName)
Parameters:
catalogName -
Returns:
Returns the address of the submitted catalog, or null if the map contains no mapping for this key.

getCatalogToFormatMap

public java.util.Map getCatalogToFormatMap()
Returns:
Returns the catalogToFormatMap.

getCatalogFormats

public java.util.List getCatalogFormats(java.lang.String catalogName)
Parameters:
catalogName - The name of the catalog
Returns:
Returns the format types of a given catalog, e.g. "ISO19115" or "ISO19119". May be null, if the passed catalogName is unknown.

getCatalogToProtocolMap

public java.util.Map getCatalogToProtocolMap()
Returns:
Returns the catalogToProtocolMap.

getCatalogProtocols

public java.util.List getCatalogProtocols(java.lang.String catalogName)
Parameters:
catalogName - The name of the catalog
Returns:
Returns the protocol type of a given catalog, e.g. "POST" or "SOAP". May be null, if the passed catalogName is unknown.

getCatalogToUrlMap

public java.util.Map getCatalogToUrlMap()
Returns:
Returns the catalogToUrlMap.

getServiceMetadataCatalogs

public java.util.List<java.lang.String> getServiceMetadataCatalogs()
Returns:
Returns a List of the service metadata catalogues.

getFilterIDs

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

getFormElements

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

getMapContextTemplatePath

public java.lang.String getMapContextTemplatePath()
Method is needed for shopping cart, but shopping cart is currently disabled TODO when shopping cart is enabled again, please adjust javadoc!

Returns:
Returns the mapContextTemplatePath.

getMaxRecords

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

getMaxSessionLifeTime

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

getProfilesToXsl

public java.util.Map getProfilesToXsl()
Returns:
Returns the profilesToXsl.

getProfileXSL

public java.util.HashMap getProfileXSL(java.lang.String profileName)
Parameters:
profileName -
Returns:
Returns the profiles to xsl for the passed profile or null if the profile map contains no mapping for this key.

getProtocolNames

public java.lang.String[] getProtocolNames()
Returns:
Returns the names of possible protocol types

getQueryScope

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

getRootBoundingBox

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

getSrs

public java.lang.String getSrs()
Returns:
Returns the srs.

getThesaurusAddress

public java.net.URL getThesaurusAddress(java.lang.String thesaurus)
Parameters:
thesaurus -
Returns:
Returns the address of the submitted thesaurus

getThesaurusNames

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

getXPathToDataIdentifier

public java.lang.String getXPathToDataIdentifier()
Returns:
Returns the xPathToDataIdentifier.

getXPathToDataTitle

public java.lang.String getXPathToDataTitle()
Returns:
Returns the xPathToDataTitle.

getXPathToServiceAddress

public java.lang.String getXPathToServiceAddress()
Returns:
Returns the xPathToServiceAddress.

getXPathToServiceIdentifier

public java.lang.String getXPathToServiceIdentifier()
Returns:
Returns the xPathToServiceIdentifier.

getXPathToServiceOperatesOnTitle

public java.lang.String getXPathToServiceOperatesOnTitle()
Returns:
Returns the xPathToServiceOperatesOnTitle.

getXPathToServiceTitle

public java.lang.String getXPathToServiceTitle()
Returns:
Returns the xPathToServiceTitle.

getXPathToServiceType

public java.lang.String getXPathToServiceType()
Returns:
Returns the xPathToServiceType.

getXPathToServiceTypeVersion

public java.lang.String getXPathToServiceTypeVersion()
Returns:
Returns the xPathToServiceTypeVersion.

setMapContextTemplatePath

public void setMapContextTemplatePath(java.lang.String mapContextTemplatePath)
method is needed for shopping cart, but shopping cart is currently disabled TODO when shopping cart is enabled again, please adjust javadoc!

Parameters:
mapContextTemplatePath - The mapContextTemplatePath to set.

setMaxRecords

public void setMaxRecords(int maxRecords)
Parameters:
maxRecords -

setSrs

public void setSrs(java.lang.String srs)
Parameters:
srs - The srs to set.

setXPathToDataIdentifier

public void setXPathToDataIdentifier(java.lang.String pathToIdentifier)
Parameters:
pathToIdentifier - The xPath to the FileIdentifier to set.

setXPathToDataTitle

public void setXPathToDataTitle(java.lang.String pathToDataTitle)
Parameters:
pathToDataTitle - The xPathToDataTitle to set.

setXPathToServiceAddress

public void setXPathToServiceAddress(java.lang.String pathToServiceAddress)
Parameters:
pathToServiceAddress - The xPathToServiceAddress to set.

setXPathToServiceIdentifier

public void setXPathToServiceIdentifier(java.lang.String pathToServiceIdentifier)
Parameters:
pathToServiceIdentifier - The xPathToServiceIdentifier to set.

setXPathToServiceOperatesOnTitle

public void setXPathToServiceOperatesOnTitle(java.lang.String pathToServiceOperatesOnTitle)
Parameters:
pathToServiceOperatesOnTitle - The xPathToServiceOperatesOnTitle to set.

setXPathToServiceTitle

public void setXPathToServiceTitle(java.lang.String pathToServiceTitle)
Parameters:
pathToServiceTitle - The xPathToServiceTitle to set.

setXPathToServiceType

public void setXPathToServiceType(java.lang.String pathToServiceType)
Parameters:
pathToServiceType - The xPathToServiceType to set.

setXPathToServiceTypeVersion

public void setXPathToServiceTypeVersion(java.lang.String pathToServiceTypeVersion)
Parameters:
pathToServiceTypeVersion - The xPathToServiceTypeVersion to set.

addCatalogueFormat

public void addCatalogueFormat(java.lang.String catalogueName,
                               java.util.List<java.lang.String> formatList)
Parameters:
catalogueName -
formatList -

addCatalogueProtocol

public void addCatalogueProtocol(java.lang.String catalogueName,
                                 java.util.List<java.lang.String> protocolList)
Parameters:
catalogueName -
protocolList -

addCatalogueURL

public void addCatalogueURL(java.lang.String catalogueName,
                            java.lang.String catURL)
Parameters:
catalogueName -
catURL -

addProfileXSL

public void addProfileXSL(java.lang.String profileName,
                          java.util.HashMap<java.lang.String,java.lang.String> elementSetKeyToXSL)
Parameters:
profileName - The name of the profile (ie: Profiles.ISO19115, Profiles.ISO19119, Profiles.OGCCORE)
elementSetKeyToXSL - HashMap containing the elementset name as key and the xsl file name as value.

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org