Package com.luciad.wms.server.model
Class TLcdWMSServiceMetaData
java.lang.Object
com.luciad.wms.server.model.ALcdWMSServiceMetaData
com.luciad.wms.server.model.TLcdWMSServiceMetaData
Default implementation of
ALcdWMSServiceMetaData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKeyword(String aKeyword) Returns anTLcdOWSServiceProvidercontaining the contact information of the service ornullif noTLcdOWSServiceProviderwas configured.getKeyword(int aIndex) Returns the keyword at the given index.intReturns the number of keywords.intReturns the maximum number of layers that a client can request in a single request.intReturns the maximum height value that a client is permitted to include in a single request.intReturns the maximum width value that a client is permitted to include in a single request.Returns aTLcdWMSURLrepresenting the online resource.Returns an online resourceURL.Returns the abstract of the service.Returns the access constraint of the service.Returns the name of the service.Returns the title of the service.voidsetContactInformation(TLcdOWSServiceProvider aContactInformation) Sets theTLcdOWSServiceProvidercontaining the contact information of the service.voidsetLayerLimit(int aLayerLimit) Sets the layer limit value.voidsetMaxHeight(int aMaxHeight) Sets the maximum allowed height.voidsetMaxWidth(int aMaxWidth) Sets the maximum allowed width.voidsetOnlineResource(TLcdWMSURL aOnlineResource) Sets the online resourceTLcdWMSURL.voidsetOnlineResourceURL(URL aOnlineResourceURL) Deprecated.voidsetServiceAbstract(String aServiceAbstract) Sets the abstract of the service.voidsetServiceAccessConstraint(String aServiceAccessConstraint) Sets the access constraint of the service.voidsetServiceName(String aServiceName) Deprecated.This method has been kept for compatibility reasons with LuciadMap.voidsetServiceTitle(String aServiceTitle) Sets the title of this service.
-
Constructor Details
-
TLcdWMSServiceMetaData
public TLcdWMSServiceMetaData()Default constructor.
-
-
Method Details
-
getServiceName
Description copied from class:ALcdWMSServiceMetaDataReturns the name of the service.- Specified by:
getServiceNamein classALcdWMSServiceMetaData- Returns:
- the name of the service.
-
setServiceName
Deprecated.This method has been kept for compatibility reasons with LuciadMap. The specification requires to always use the value OGC:WMS.Sets the name of the service.- Parameters:
aServiceName- the name of the service.- See Also:
-
getServiceTitle
Description copied from class:ALcdWMSServiceMetaDataReturns the title of the service.- Specified by:
getServiceTitlein classALcdWMSServiceMetaData- Returns:
- a
Stringwith the service title.
-
getServiceAbstract
Description copied from class:ALcdWMSServiceMetaDataReturns the abstract of the service.- Specified by:
getServiceAbstractin classALcdWMSServiceMetaData- Returns:
- the abstract containing a narrative description of the service.
-
setServiceAbstract
Sets the abstract of the service.- Parameters:
aServiceAbstract- a narrative description of the service.- See Also:
-
getServiceAccessConstraint
Description copied from class:ALcdWMSServiceMetaDataReturns the access constraint of the service. The default value is"none".- Overrides:
getServiceAccessConstraintin classALcdWMSServiceMetaData- Returns:
- the access constraint of the service.
-
setServiceAccessConstraint
Sets the access constraint of the service.- Parameters:
aServiceAccessConstraint- the access constraint of the service.- Since:
- 2022.0
- See Also:
-
getOnlineResourceURL
Description copied from class:ALcdWMSServiceMetaDataReturns an online resourceURL.- Specified by:
getOnlineResourceURLin classALcdWMSServiceMetaData- Returns:
- a
URLwith the resourseURL.
-
getOnlineResource
Description copied from class:ALcdWMSServiceMetaDataReturns aTLcdWMSURLrepresenting the online resource.- Overrides:
getOnlineResourcein classALcdWMSServiceMetaData- Returns:
- a
TLcdWMSURLrepresenting the online resource.
-
setOnlineResource
Sets the online resourceTLcdWMSURL.- Parameters:
aOnlineResource- The online resource.- See Also:
-
setServiceTitle
Sets the title of this service.- Parameters:
aServiceTitle- the title of the service.- See Also:
-
setOnlineResourceURL
Deprecated.UsesetOnlineResource(TLcdWMSURL)instead of this method.Sets the online resourceURL.- Parameters:
aOnlineResourceURL- the online url.- See Also:
-
getLayerLimit
public int getLayerLimit()Description copied from class:ALcdWMSServiceMetaDataReturns the maximum number of layers that a client can request in a single request. If no limit is imposed this method should return -1.- Specified by:
getLayerLimitin classALcdWMSServiceMetaData- Returns:
- the maximum number of layers that a client can request in a single request. If no limit is imposed this method should return -1.
-
setLayerLimit
public void setLayerLimit(int aLayerLimit) Sets the layer limit value.- Parameters:
aLayerLimit- the new layerLimit value.- See Also:
-
getMaxWidth
public int getMaxWidth()Description copied from class:ALcdWMSServiceMetaDataReturns the maximum width value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.- Specified by:
getMaxWidthin classALcdWMSServiceMetaData- Returns:
- the maximum width value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.
-
setMaxWidth
public void setMaxWidth(int aMaxWidth) Sets the maximum allowed width.- Parameters:
aMaxWidth- the new maximum allowed width value.- See Also:
-
getMaxHeight
public int getMaxHeight()Description copied from class:ALcdWMSServiceMetaDataReturns the maximum height value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.- Specified by:
getMaxHeightin classALcdWMSServiceMetaData- Returns:
- the maximum height value that a client is permitted to include in a single request. If no limit is imposed this method should return -1.
-
setMaxHeight
public void setMaxHeight(int aMaxHeight) Sets the maximum allowed height.- Parameters:
aMaxHeight- the new maximum allowed height value.- See Also:
-
getKeywordCount
public int getKeywordCount()Description copied from class:ALcdWMSServiceMetaDataReturns the number of keywords.- Specified by:
getKeywordCountin classALcdWMSServiceMetaData- Returns:
- the number of keywords.
-
getKeyword
Description copied from class:ALcdWMSServiceMetaDataReturns the keyword at the given index.- Specified by:
getKeywordin classALcdWMSServiceMetaData- Parameters:
aIndex- the index of the keyword to return.- Returns:
- the keyword at the given index.
- Throws:
IndexOutOfBoundsException- if invalid index.
-
addKeyword
-
getContactInformation
Description copied from class:ALcdWMSServiceMetaDataReturns anTLcdOWSServiceProvidercontaining the contact information of the service ornullif noTLcdOWSServiceProviderwas configured.- Overrides:
getContactInformationin classALcdWMSServiceMetaData- Returns:
- an
TLcdOWSServiceProvidercontaining the contact information of the service ornullif noTLcdOWSServiceProviderwas configured.
-
setContactInformation
Sets theTLcdOWSServiceProvidercontaining the contact information of the service.- Parameters:
aContactInformation- the new contact information- Since:
- 2022.0
-
setOnlineResource(TLcdWMSURL)instead of this method.