|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.wmsclient.configuration.WMSClientConfiguration
Field Summary | |
private WMSClientConfiguration |
defaultConfig
|
private WMSGetMapRequest |
gmr
|
private double |
maxScale
|
private double |
minScale
|
private java.util.ArrayList |
offeredInfoFormats
|
private java.util.ArrayList |
offeredMapFormats
|
private java.util.ArrayList |
offeredMapOperations
|
private java.util.ArrayList |
offeredMapSizes
|
private java.util.ArrayList |
offeredPanFactors
|
private java.util.ArrayList |
offeredProjects
|
private java.util.ArrayList |
offeredZoomFactors
|
private java.util.HashMap |
wmsCapabilities
|
Constructor Summary | |
(package private) |
WMSClientConfiguration(WMSClientConfiguration defaultConfig,
java.util.HashMap wmsCapabilities,
MapSize[] offeredMapSizes,
Format[] offeredMapFormats,
Format[] offeredInfoFormats,
MapOperation[] offeredMapOperations,
MapOperationFactor[] offeredZoomFactors,
MapOperationFactor[] offeredPanFactors,
double minScale,
double maxScale,
WMSGetMapRequest gmr,
Project[] offeredProjects)
Creates a new WMSClientConfiguration object. |
Method Summary | |
void |
addInfoFormat(Format infoFormat)
|
void |
addMapFormat(Format mapFormat)
|
void |
addMapOperation(MapOperation mapOperation)
|
void |
addMapSize(MapSize mapSize)
|
void |
addPanFactor(MapOperationFactor panFactor)
|
void |
addProject(Project project)
|
void |
addWMS(java.lang.String id,
java.net.URL url)
adds a new WMS to the client. |
void |
addWMS(java.lang.String id,
WMSCapabilities capabilities)
adds a new WMS the the client. |
void |
addZoomFactor(MapOperationFactor zoomFactor)
|
java.lang.Object |
clone()
|
java.lang.String |
exportAsXML()
Produces an XML-representation of this object. |
WMSGetMapRequest |
getInitialGetMapRequest()
returns the initial get map request |
double |
getMaxScale()
returns the maximum map scale as defined at the OGC WMS specs that is offered by the client |
double |
getMinScale()
returns the minimum map scale as defined at the OGC WMS specs that is offered by the client |
Format[] |
getOfferedInfoFormats()
returns the list of map formats offered by the client |
Format[] |
getOfferedMapFormats()
returns the list of map formats offered by the client |
MapOperation[] |
getOfferedMapOperations()
returns the list of map operations offered by the client |
MapSize[] |
getOfferedMapSizes()
returns the list of map sizes offered by the client |
MapOperationFactor[] |
getOfferedPanFactors()
returns the list of pan factors offered by the client |
Project[] |
getOfferedProjects()
returns the list of projects offered by the client |
MapOperationFactor[] |
getOfferedZoomFactors()
returns the list of zoom factors offered by the client |
Project |
getProject(java.lang.String name)
returns the project identified by its name. |
Format |
getSelectedInfoFormat()
returns the info format that is marked as selected. |
Format |
getSelectedMapFormat()
returns the map format that is marked as selected. |
MapOperation |
getSelectedMapOperation()
returns the map operation that is marked as selected. |
MapSize |
getSelectedMapSize()
returns the MapSize that is marked as selected. |
MapOperationFactor |
getSelectedPanFactor()
returns the pan factor that is marked as selected. |
MapOperationFactor |
getSelectedZoomFactor()
returns the zoom factor that is marked as selected. |
WMSCapabilities[] |
getWMSCapabilities()
returns the encapsulated capabilites of all WMS registered to the client |
WMSCapabilities |
getWMSCapabilities(java.lang.String id)
returns the WMSCapabilities object for the WMS identified by the submitted id. |
void |
setOfferedInfoFormats(Format[] infoFormats)
|
void |
setOfferedMapFormats(Format[] mapFormats)
|
void |
setOfferedMapOperations(MapOperation[] mapOperations)
|
void |
setOfferedMapSizes(MapSize[] mapSizes)
|
void |
setOfferedPanFactors(MapOperationFactor[] panFactors)
|
void |
setOfferedProjects(Project[] projects)
|
void |
setOfferedZoomFactors(MapOperationFactor[] zoomFactors)
|
void |
setSelectedMapOperation(java.lang.String name)
sets the submitted operation as selected |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.ArrayList offeredInfoFormats
private java.util.ArrayList offeredMapFormats
private java.util.ArrayList offeredMapOperations
private java.util.ArrayList offeredMapSizes
private java.util.ArrayList offeredPanFactors
private java.util.ArrayList offeredZoomFactors
private java.util.ArrayList offeredProjects
private java.util.HashMap wmsCapabilities
private WMSClientConfiguration defaultConfig
private WMSGetMapRequest gmr
private double maxScale
private double minScale
Constructor Detail |
WMSClientConfiguration(WMSClientConfiguration defaultConfig, java.util.HashMap wmsCapabilities, MapSize[] offeredMapSizes, Format[] offeredMapFormats, Format[] offeredInfoFormats, MapOperation[] offeredMapOperations, MapOperationFactor[] offeredZoomFactors, MapOperationFactor[] offeredPanFactors, double minScale, double maxScale, WMSGetMapRequest gmr, Project[] offeredProjects)
defaultConfig
- default map client configurationwmsCapabilities
- map of the capabilities of the WMS known by the clientofferedMapSizes
- list of map sizes offered by the clientofferedMapFormats
- list of map formats offered by the clientofferedInfoFormats
- list of info formats offered by the clientofferedMapOperations
- list of map operations offered by the clientofferedZoomFactors
- list of zoom factors offered by the clientofferedPanFactors
- list of pan factors offered by the clientminScale
- min map scale handled by the clientmaxScale
- maximum map scale handled by the clientgmr
- initial GetMap request (first map the user will see)Method Detail |
public java.lang.Object clone()
public WMSCapabilities[] getWMSCapabilities()
public WMSCapabilities getWMSCapabilities(java.lang.String id)
id
- ID of the WMS which capabilities shall be returned
public void addWMS(java.lang.String id, java.net.URL url) throws XMLParsingException
id
- ID of the WMSurl
- reference to the capabilities of the WMS
XMLParsingException
public void addWMS(java.lang.String id, WMSCapabilities capabilities)
id
- ID of the WMScapabilities
- capabilities of the WMSpublic void setOfferedMapSizes(MapSize[] mapSizes)
mapSizes
- public void addMapSize(MapSize mapSize)
mapSize
- public MapSize[] getOfferedMapSizes()
public MapSize getSelectedMapSize()
public void setOfferedPanFactors(MapOperationFactor[] panFactors)
panFactors
- public void addPanFactor(MapOperationFactor panFactor)
panFactor
- public MapOperationFactor[] getOfferedPanFactors()
public MapOperationFactor getSelectedPanFactor()
public void setOfferedZoomFactors(MapOperationFactor[] zoomFactors)
zoomFactors
- public void addZoomFactor(MapOperationFactor zoomFactor)
zoomFactor
- public MapOperationFactor[] getOfferedZoomFactors()
public MapOperationFactor getSelectedZoomFactor()
public void setOfferedMapOperations(MapOperation[] mapOperations)
mapOperations
- public void addMapOperation(MapOperation mapOperation)
mapOperation
- public MapOperation[] getOfferedMapOperations()
public MapOperation getSelectedMapOperation()
public void setSelectedMapOperation(java.lang.String name)
public void setOfferedMapFormats(Format[] mapFormats)
mapFormats
- public void addMapFormat(Format mapFormat)
mapFormat
- public Format[] getOfferedMapFormats()
public Format getSelectedMapFormat()
public void setOfferedInfoFormats(Format[] infoFormats)
infoFormats
- public void addInfoFormat(Format infoFormat)
infoFormat
- public Format[] getOfferedInfoFormats()
public Format getSelectedInfoFormat()
public void setOfferedProjects(Project[] projects)
projects
- public void addProject(Project project)
project
- public Project[] getOfferedProjects()
public Project getProject(java.lang.String name)
public double getMinScale()
public double getMaxScale()
public WMSGetMapRequest getInitialGetMapRequest()
public java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |