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
-
Method Summary
Modifier and TypeMethodDescriptiondecodeWMSCapabilities
(String aSource) Creates aALcdWMSCapabilities
Object for a given source.Returns theILcdModelProvider
used to load models.void
setModelProvider
(ILcdModelProvider aModelProvider) Sets theILcdModelProvider
to use to load models.
-
Constructor Details
-
TLcdWMSCapabilitiesXMLDecoder
public TLcdWMSCapabilitiesXMLDecoder()
-
-
Method Details
-
getModelProvider
Returns theILcdModelProvider
used to load models. It is used to decode the model bounds when not available.- Returns:
- the
ILcdModelProvider
used to load models. - See Also:
-
setModelProvider
Sets theILcdModelProvider
to use to load models.- Parameters:
aModelProvider
- the model provider allowing to load models.- See Also:
-
decodeWMSCapabilities
Description copied from interface:ILcdWMSCapabilitiesDecoder
Creates aALcdWMSCapabilities
Object for a given source.- Specified by:
decodeWMSCapabilities
in interfaceILcdWMSCapabilitiesDecoder
- Parameters:
aSource
- aString
with the source name of the configuration file.- Returns:
ALcdWMSCapabilities
.- Throws:
IOException
- if the capabilities object can not be read from the configuration file.
-