public interface ILcdWMSOnlineResourceResolver
Modifier and Type | Field and Description |
---|---|
static int |
CAPABILITIES_111_DTD
Identifier for the capabilities DTD defined for WMS 1.1.1.
|
static int |
CAPABILITIES_130_XML_SCHEMA
Identifier for the capabilities XML Schema defined for WMS 1.3.0.
|
static int |
CAPABILITIES_LAYER_DATA_URL
Identifier for the DataURL element defined for a layer in the capabilities.
|
static int |
CAPABILITIES_LAYER_FEATURE_LIST_URL
Identifier for the FeatureListURL element defined for a layer in the capabilities.
|
static int |
CAPABILITIES_LAYER_METADATA_URL
Identifier for the MetadataURL element defined for a layer in the capabilities.
|
static int |
CAPABILITIES_LAYERSTYLE_LEGEND_URL
Identifier for the LegendURL element defined for a layer in the capabilities.
|
static int |
CAPABILITIES_LAYERSTYLE_STYLE_URL
Identifier for the StyleURL element defined for a layer in the capabilities.
|
static int |
CAPABILITIES_LAYERSTYLE_STYLESHEET_URL
Identifier for the StylesheetURL element defined for a layer in the capabilities.
|
static int |
CAPABILITIES_REQUEST_BASE_URL
Identifier for the OnlineResource element used in the request section of the capabilities.
|
static int |
CAPABILITIES_SERVICE_ONLINE_RESOURCE
Identifier for the OnlineResource element defined in the service metadata section of the capabilities.
|
static int |
DESCRIBE_LAYER_DTD
Identifier for the default DescribeLayer response DTD.
|
static int |
SERVICE_EXCEPTION_111_DTD
Identifier for the service exception DTD defined for WMS 1.1.1.
|
static int |
SERVICE_EXCEPTION_130_XML_SCHEMA
Identifier for the service exception XML Schema defined for WMS 1.3.0.
|
static int |
SLD_CAPABILITIES_110_XML_SCHEMA
Identifier for the capabilities XML Schema defined for WMS SLD capabilities 1.1.0.
|
Modifier and Type | Method and Description |
---|---|
TLcdOWSOnlineResource[] |
resolveOnlineResource(int aType,
TLcdOWSOnlineResource[] aOnlineResources,
ALcdWMSLayer aSourceLayer,
ALcdWMSLayerStyle aSourceLayerStyle,
TLcdWMSRequestContext aWMSRequestContext)
Returns the online resource(s) corresponding to the supplied type.
|
static final int CAPABILITIES_111_DTD
static final int CAPABILITIES_130_XML_SCHEMA
static final int SERVICE_EXCEPTION_111_DTD
static final int SERVICE_EXCEPTION_130_XML_SCHEMA
static final int DESCRIBE_LAYER_DTD
static final int CAPABILITIES_SERVICE_ONLINE_RESOURCE
static final int CAPABILITIES_LAYER_METADATA_URL
static final int CAPABILITIES_LAYER_DATA_URL
static final int CAPABILITIES_LAYER_FEATURE_LIST_URL
static final int CAPABILITIES_LAYERSTYLE_LEGEND_URL
static final int CAPABILITIES_LAYERSTYLE_STYLESHEET_URL
static final int CAPABILITIES_LAYERSTYLE_STYLE_URL
static final int CAPABILITIES_REQUEST_BASE_URL
static final int SLD_CAPABILITIES_110_XML_SCHEMA
TLcdOWSOnlineResource[] resolveOnlineResource(int aType, TLcdOWSOnlineResource[] aOnlineResources, ALcdWMSLayer aSourceLayer, ALcdWMSLayerStyle aSourceLayerStyle, TLcdWMSRequestContext aWMSRequestContext)
null
must be returned in all cases.null
, indicating that a static configuration
of the online resources is already availabe, implementations should return an online resource array of
equal length. If a specific online resource is not available, null
must be used for the corresponding
element in the returned array.aType
- The type of online resource that is to be resolved. These types are the static
int values defined in this interface.aOnlineResources
- The online resources to be resolved, or null
if no online resource is defined yet for the given type.
For example, if the online resource type is CAPABILITIES_LAYER_METADATA_URL
,
it contains the online resources that were defined in the capabilities for layer aSourceLayer
(see ALcdWMSLayer#getMetadataURL(int)
. For the DTD and XML Schema online
resources, no static configuration is possible, so the online resources array is null
in that case.aSourceLayer
- The WMS layer that references the online resource, or that contains the layer style that references the online resource,
or null
if not applicable.aSourceLayerStyle
- The WMS layer style that references the online resource, or null
if not applicable.aWMSRequestContext
- A container for the original request and other related request parameters.