|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.wmsclient.configuration.WMSClientConfigurationFactory
Factory class for creating instances of WMSClientConfiguration
Field Summary | |
private java.lang.String |
CNS
|
Constructor Summary | |
WMSClientConfigurationFactory()
|
|
WMSClientConfigurationFactory(java.lang.String namespace)
|
Method Summary | |
private WMSGetMapRequest |
createInitialGetMapRequest(org.w3c.dom.Element initMapReq)
|
private java.util.HashMap |
createKnownWMS(org.w3c.dom.Element knownWMSE)
creates a HashMap with the id of the WMS known by the client as a key and the URL to its capabilities as value |
private Format[] |
createOfferedMapFormats(org.w3c.dom.Element mapFormats)
Creates a list of the map/images formats offered by the client. |
private MapOperationFactor[] |
createOfferedMapOperationFactors(org.w3c.dom.Element factors)
returns a list of offered numerical map operation factors that can be used to determine zoom or pan levels |
private MapOperation[] |
createOfferedMapOperations(org.w3c.dom.Element mapOperations)
returns a list of the map operations (zoomin, zoomout, pan etc.) offered by the client |
private MapSize[] |
createOfferedMapSizes(org.w3c.dom.Element mapSizes)
creates a list of available map sizes for the client. |
private Project |
createProject(org.w3c.dom.Element projectElement)
creates a predefined project that can be invoked by the client |
WMSClientConfiguration |
createWMSClientConfiguration(org.w3c.dom.Element root,
WMSClientConfiguration defaultConfig)
creates an instance of the WMSClientConfiguration from the parameters contained in the configuration file referenced by the passed Element |
WMSClientConfiguration |
createWMSClientConfiguration(java.net.URL url,
WMSClientConfiguration defaultConfig)
creates an instance of the WMSClientConfiguration from the parameters contained in the configuration file referenced by the submitted URL |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String CNS
Constructor Detail |
public WMSClientConfigurationFactory()
public WMSClientConfigurationFactory(java.lang.String namespace)
Method Detail |
public WMSClientConfiguration createWMSClientConfiguration(java.net.URL url, WMSClientConfiguration defaultConfig) throws XMLParsingException
url
- refernce to a wms client configuration documentdefaultConfig
- default map client configuration
XMLParsingException
public WMSClientConfiguration createWMSClientConfiguration(org.w3c.dom.Element root, WMSClientConfiguration defaultConfig) throws XMLParsingException
root
- XML element containing the web map client configurationdefaultConfig
- default map client configuration
XMLParsingException
private java.util.HashMap createKnownWMS(org.w3c.dom.Element knownWMSE) throws XMLParsingException
knownWMSE
- XMLParsingException
private MapSize[] createOfferedMapSizes(org.w3c.dom.Element mapSizes) throws XMLParsingException
mapSizes
- XMLParsingException
private Format[] createOfferedMapFormats(org.w3c.dom.Element mapFormats) throws XMLParsingException
mapFormats
- XMLParsingException
private MapOperation[] createOfferedMapOperations(org.w3c.dom.Element mapOperations) throws XMLParsingException
mapOperations
- XMLParsingException
private MapOperationFactor[] createOfferedMapOperationFactors(org.w3c.dom.Element factors) throws XMLParsingException
factors
- a Element that contains XMLParsingException
private WMSGetMapRequest createInitialGetMapRequest(org.w3c.dom.Element initMapReq) throws XMLParsingException
initMapReq
-
XMLParsingException
private Project createProject(org.w3c.dom.Element projectElement) throws XMLParsingException
XMLParsingException
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |