public interface ILcdRemoteOWSModelDecoder
Modifier and Type | Method and Description |
---|---|
boolean |
canDecode(TLcdSLDUserLayer aUserLayer,
TLcdWMSRequestContext aWMSRequestContext)
Checks whether this
ILcdRemoteOWSModelDecoder can decode the supplied user-defined layer. |
ILcdModel[] |
decode(TLcdSLDUserLayer aUserLayer,
TLcdWMSRequestContext aWMSRequestContext)
Returns the
ILcdModel (s) corresponding to a user-defined layer. |
boolean canDecode(TLcdSLDUserLayer aUserLayer, TLcdWMSRequestContext aWMSRequestContext)
ILcdRemoteOWSModelDecoder
can decode the supplied user-defined layer.aUserLayer
- the user-defined layer.aWMSRequestContext
- the WMS request context, which gives access to the original HttpServletRequest
that was sent to the WMS and several other parameters.ILcdRemoteOWSModelDecoder
can decode the supplied user-defined layer.ILcdModel[] decode(TLcdSLDUserLayer aUserLayer, TLcdWMSRequestContext aWMSRequestContext) throws IOException
ILcdModel
(s) corresponding to a user-defined layer. Whether to return one or more ILcdModel
objects depends on the contents of the user-defined layer. If this layer combines multiple coverages (WCS) or feature types (WFS),
it may be necessary to decode each coverage or feature type into a single ILcdModel
. This is especially needed
when these coverages or feature types have multiple model references, because an ILcdModel
can be associated
with only one model reference.aUserLayer
- the user-defined layer.aWMSRequestContext
- the WMS request context, which gives access to the original HttpServletRequest
that was sent to the WMS and several other parameters.ILcdModel
(s) corresponding to the user-defined layer.IOException
- if the model can not be returned (because decoding fails).