public class TLcdWMSServiceMetaData extends ALcdWMSServiceMetaData
ALcdWMSServiceMetaData
.Constructor and Description |
---|
TLcdWMSServiceMetaData()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addKeyword(String aKeyword) |
TLcdOWSServiceProvider |
getContactInformation()
Returns an
TLcdOWSServiceProvider containing the contact information of the service
or null if no TLcdOWSServiceProvider was configured. |
String |
getKeyword(int aIndex)
Returns the keyword at the given index.
|
int |
getKeywordCount()
Returns the number of keywords.
|
int |
getLayerLimit()
Returns the maximum number of layers that a client can request in a single request.
|
int |
getMaxHeight()
Returns the maximum height value that a client is permitted to include in a single request.
|
int |
getMaxWidth()
Returns the maximum width value that a client is permitted to include in a single request.
|
TLcdWMSURL |
getOnlineResource()
Returns a
TLcdWMSURL representing the online resource. |
URL |
getOnlineResourceURL()
Returns an online resourceURL.
|
String |
getServiceAbstract()
Returns the abstract of the service.
|
String |
getServiceAccessConstraint()
Returns the access constraint of the service.
|
String |
getServiceName()
Returns the name of the service.
|
String |
getServiceTitle()
Returns the title of the service.
|
void |
setContactInformation(TLcdOWSServiceProvider aContactInformation)
Sets the
TLcdOWSServiceProvider containing the contact information of the service. |
void |
setLayerLimit(int aLayerLimit)
Sets the layer limit value.
|
void |
setMaxHeight(int aMaxHeight)
Sets the maximum allowed height.
|
void |
setMaxWidth(int aMaxWidth)
Sets the maximum allowed width.
|
void |
setOnlineResource(TLcdWMSURL aOnlineResource)
Sets the online resource
TLcdWMSURL . |
void |
setOnlineResourceURL(URL aOnlineResourceURL)
Deprecated.
Use
setOnlineResource(TLcdWMSURL) instead of this method. |
void |
setServiceAbstract(String aServiceAbstract)
Sets the abstract of the service.
|
void |
setServiceAccessConstraint(String aServiceAccessConstraint)
Sets the access constraint of the service.
|
void |
setServiceName(String aServiceName)
Deprecated.
This method has been kept for compatibility reasons with LuciadMap.
The specification requires to always use the value OGC:WMS.
|
void |
setServiceTitle(String aServiceTitle)
Sets the title of this service.
|
public String getServiceName()
ALcdWMSServiceMetaData
getServiceName
in class ALcdWMSServiceMetaData
public void setServiceName(String aServiceName)
aServiceName
- the name of the service.getServiceName()
public String getServiceTitle()
ALcdWMSServiceMetaData
getServiceTitle
in class ALcdWMSServiceMetaData
String
with the service title.public String getServiceAbstract()
ALcdWMSServiceMetaData
getServiceAbstract
in class ALcdWMSServiceMetaData
public void setServiceAbstract(String aServiceAbstract)
aServiceAbstract
- a narrative description of the service.getServiceAbstract()
public String getServiceAccessConstraint()
ALcdWMSServiceMetaData
"none"
.getServiceAccessConstraint
in class ALcdWMSServiceMetaData
public void setServiceAccessConstraint(String aServiceAccessConstraint)
aServiceAccessConstraint
- the access constraint of the service.getServiceAccessConstraint()
public URL getOnlineResourceURL()
ALcdWMSServiceMetaData
getOnlineResourceURL
in class ALcdWMSServiceMetaData
URL
with the resourseURL.public TLcdWMSURL getOnlineResource()
ALcdWMSServiceMetaData
TLcdWMSURL
representing the online resource.getOnlineResource
in class ALcdWMSServiceMetaData
TLcdWMSURL
representing the online resource.public void setOnlineResource(TLcdWMSURL aOnlineResource)
TLcdWMSURL
.aOnlineResource
- The online resource.getOnlineResource.
public void setServiceTitle(String aServiceTitle)
aServiceTitle
- the title of the service.getTitle.
public void setOnlineResourceURL(URL aOnlineResourceURL)
setOnlineResource(TLcdWMSURL)
instead of this method.URL
.aOnlineResourceURL
- the online url.getOnlineResourceURL.
public int getLayerLimit()
ALcdWMSServiceMetaData
getLayerLimit
in class ALcdWMSServiceMetaData
public void setLayerLimit(int aLayerLimit)
aLayerLimit
- the new layerLimit value.getLayerLimit()
public int getMaxWidth()
ALcdWMSServiceMetaData
getMaxWidth
in class ALcdWMSServiceMetaData
public void setMaxWidth(int aMaxWidth)
aMaxWidth
- the new maximum allowed width value.getMaxWidth()
public int getMaxHeight()
ALcdWMSServiceMetaData
getMaxHeight
in class ALcdWMSServiceMetaData
public void setMaxHeight(int aMaxHeight)
aMaxHeight
- the new maximum allowed height value.getMaxHeight()
public int getKeywordCount()
ALcdWMSServiceMetaData
getKeywordCount
in class ALcdWMSServiceMetaData
public String getKeyword(int aIndex) throws IndexOutOfBoundsException
ALcdWMSServiceMetaData
getKeyword
in class ALcdWMSServiceMetaData
aIndex
- the index of the keyword to return.IndexOutOfBoundsException
- if invalid index.public void addKeyword(String aKeyword)
public TLcdOWSServiceProvider getContactInformation()
ALcdWMSServiceMetaData
TLcdOWSServiceProvider
containing the contact information of the service
or null
if no TLcdOWSServiceProvider
was configured.getContactInformation
in class ALcdWMSServiceMetaData
TLcdOWSServiceProvider
containing the contact information of the service
or null
if no TLcdOWSServiceProvider
was configured.public void setContactInformation(TLcdOWSServiceProvider aContactInformation)
TLcdOWSServiceProvider
containing the contact information of the service.aContactInformation
- the new contact information