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
ConstructorsConstructorDescriptionTLcdWMSURL(TLcdOWSOnlineResource aOnlineResource, String aName, String aType, String aFormat) Creates a newTLcdWMSURLwith the given parameters.TLcdWMSURL(TLcdOWSOnlineResource aOnlineResource, String aName, String aType, String aFormat, int aWidth, int aHeight) Creates a newTLcdWMSURLwith the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the format of the data source that is referenced by the online resource returned bygetOnlineResource().intReturns 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().intgetWidth()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 newTLcdWMSURLwith 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,nullmust be used.aType- An optional type. If not applicable,nullmust be used.aFormat- An optional format. If not applicable,nullmust be used.
-
TLcdWMSURL
public TLcdWMSURL(TLcdOWSOnlineResource aOnlineResource, String aName, String aType, String aFormat, int aWidth, int aHeight) Creates a newTLcdWMSURLwith 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,nullmust be used.aType- An optional type. If not applicable,nullmust be used.aFormat- An optional format. If not applicable,nullmust be used.aWidth- An optional width. If not applicable,-1must be used.aHeight- An optional height. If not applicable,-1must 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
nullif 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
nullif 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
nullif 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
-1if 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
-1if not defined or applicable.
-