Package com.luciad.wms.server.config.xml
Class TLcdWMSCapabilitiesXMLDecoder
java.lang.Object
com.luciad.wms.server.config.xml.TLcdWMSCapabilitiesXMLDecoder
- All Implemented Interfaces:
ILcdWMSCapabilitiesDecoder
Decodes the configuration file (XML) into a
ALcdWMSCapabilities object.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeWMSCapabilities(String aSource) Creates aALcdWMSCapabilitiesObject for a given source.Returns theILcdModelProviderused to load models.voidsetModelProvider(ILcdModelProvider aModelProvider) Sets theILcdModelProviderto use to load models.
-
Constructor Details
-
TLcdWMSCapabilitiesXMLDecoder
public TLcdWMSCapabilitiesXMLDecoder()
-
-
Method Details
-
getModelProvider
Returns theILcdModelProviderused to load models. It is used to decode the model bounds when not available.- Returns:
- the
ILcdModelProviderused to load models. - See Also:
-
setModelProvider
Sets theILcdModelProviderto use to load models.- Parameters:
aModelProvider- the model provider allowing to load models.- See Also:
-
decodeWMSCapabilities
Description copied from interface:ILcdWMSCapabilitiesDecoderCreates aALcdWMSCapabilitiesObject for a given source.- Specified by:
decodeWMSCapabilitiesin interfaceILcdWMSCapabilitiesDecoder- Parameters:
aSource- aStringwith the source name of the configuration file.- Returns:
ALcdWMSCapabilities.- Throws:
IOException- if the capabilities object can not be read from the configuration file.
-