Package com.luciad.wms.server.model
Class TLcdWMSURL
java.lang.Object
com.luciad.wms.server.model.TLcdWMSURL
General representation of an URL-based feature that is 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
ConstructorDescriptionTLcdWMSURL
(TLcdOWSOnlineResource aOnlineResource, String aName, String aType, String aFormat) Creates a newTLcdWMSURL
with the given parameters.TLcdWMSURL
(TLcdOWSOnlineResource aOnlineResource, String aName, String aType, String aFormat, int aWidth, int aHeight) Creates a newTLcdWMSURL
with the given parameters. -
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
-
TLcdWMSURL
public TLcdWMSURL(TLcdOWSOnlineResource aOnlineResource, String aName, String aType, String aFormat) Creates a newTLcdWMSURL
with the given parameters.- Parameters:
aOnlineResource
- The online resource of this URL. This argument is mandatory and must not benull
.aName
- An optional name. If not applicable,null
must be used.aType
- An optional type. If not applicable,null
must be used.aFormat
- An optional format. If not applicable,null
must be used.
-
TLcdWMSURL
public TLcdWMSURL(TLcdOWSOnlineResource aOnlineResource, String aName, String aType, String aFormat, int aWidth, int aHeight) Creates a newTLcdWMSURL
with the given parameters.- Parameters:
aOnlineResource
- The online resource of this URL. This argument is mandatory and must not benull
.aName
- An optional name. If not applicable,null
must be used.aType
- An optional type. If not applicable,null
must be used.aFormat
- An optional format. If not applicable,null
must be used.aWidth
- An optional width. If not applicable,-1
must be used.aHeight
- An optional height. If not applicable,-1
must be used.
-
-
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.
-