Package com.luciad.wms.server
Interface ILcdRemoteOWSModelDecoder
public interface ILcdRemoteOWSModelDecoder
Decoder for user-defined layers.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanDecode(TLcdSLDUserLayer aUserLayer, TLcdWMSRequestContext aWMSRequestContext) Checks whether thisILcdRemoteOWSModelDecodercan decode the supplied user-defined layer.decode(TLcdSLDUserLayer aUserLayer, TLcdWMSRequestContext aWMSRequestContext) Returns theILcdModel(s) corresponding to a user-defined layer.
-
Method Details
-
canDecode
Checks whether thisILcdRemoteOWSModelDecodercan decode the supplied user-defined layer.- Parameters:
aUserLayer- the user-defined layer.aWMSRequestContext- the WMS request context, which gives access to the originalHttpServletRequestthat was sent to the WMS and several other parameters.- Returns:
- true if this
ILcdRemoteOWSModelDecodercan decode the supplied user-defined layer.
-
decode
ILcdModel[] decode(TLcdSLDUserLayer aUserLayer, TLcdWMSRequestContext aWMSRequestContext) throws IOException Returns theILcdModel(s) corresponding to a user-defined layer. Whether to return one or moreILcdModelobjects 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 singleILcdModel. This is especially needed when these coverages or feature types have multiple model references, because anILcdModelcan be associated with only one model reference.- Parameters:
aUserLayer- the user-defined layer.aWMSRequestContext- the WMS request context, which gives access to the originalHttpServletRequestthat was sent to the WMS and several other parameters.- Returns:
- the
ILcdModel(s) corresponding to the user-defined layer. - Throws:
IOException- if the model can not be returned (because decoding fails).
-