Package com.luciad.wms.client.model
Class TLcdOGCWMSURL
java.lang.Object
com.luciad.wms.client.model.TLcdOGCWMSURL
General representation of an URL used in the WMS capabilities.
Except for the online resource, the applicable fields (name, type, format, width, height)
of this class depend on the actual WMS feature that is represented.
In the current implementation, it is used to model the following WMS features:
- MetadataURL (see ALcdWMSLayer). The applicable fields are: online resource, format and type.
- DataURL (see ALcdWMSLayer). The applicable fields are: online resource and format.
- FeatureListURL (see ALcdWMSLayer). The applicable fields are: online resource and format.
- LegendURL (see ALcdWMSLayerStyle). The applicable fields are: online resource, format, width and height.
- StyleSheetURL (see ALcdWMSLayerStyle). The applicable fields are: online resource and format.
- StyleURL (see ALcdWMSLayerStyle). The applicable fields are: online resource and format.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the format of the data source that is referenced by the online resource returned bygetOnlineResource()
.int
Returns the height of the graphic that is referenced by the online resource returned bygetOnlineResource()
..getName()
Returns the name.Returns the online resource (required to be notnull
).getType()
Returns the type, standard or specification used by the data source that is referenced by the online resource retrieved throughgetOnlineResource()
.int
getWidth()
Returns the width of the graphic that is referenced by the online resource returned bygetOnlineResource()
.
-
Constructor Details
-
TLcdOGCWMSURL
public TLcdOGCWMSURL()
-
-
Method Details
-
getOnlineResource
Returns the online resource (required to be notnull
).- Returns:
- the online resource (required to be not
null
).
-
getName
Returns the name.- Returns:
- the name or
null
if not defined or applicable.
-
getType
Returns the type, standard or specification used by the data source that is referenced by the online resource retrieved throughgetOnlineResource()
.- Returns:
- the type or
null
if not defined or applicable.
-
getFormat
Returns the format of the data source that is referenced by the online resource returned bygetOnlineResource()
.- Returns:
- the format or
null
if not defined or applicable.
-
getWidth
public int getWidth()Returns the width of the graphic that is referenced by the online resource returned bygetOnlineResource()
.- Returns:
- the width or
-1
if not defined or applicable.
-
getHeight
public int getHeight()Returns the height of the graphic that is referenced by the online resource returned bygetOnlineResource()
..- Returns:
- the height or
-1
if not defined or applicable.
-