public class WMSStatus extends RemoteClientStatus
Constructor and Description |
---|
WMSStatus() |
Modifier and Type | Method and Description |
---|---|
void |
addLayerName(java.lang.String _layerName)
Adds a layer to the list of layers required by the WMS client
|
void |
addStyleName(java.lang.String _name)
Adds a style name to the styles list required by the WMS client
|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Vector |
getDimensions() |
java.awt.geom.Rectangle2D |
getExtent()
Gets the extent defined by the map
|
java.util.Vector |
getLayerNames()
Retrieves the layer list required by the WMS client
|
java.lang.String |
getOnlineResource()
Returns the URL that the server specified for a WMS request if any was described in
its capabilities document.
|
java.util.Vector |
getStyles()
gets the styles list required by the WMS client
|
boolean |
getTransparency() |
boolean |
isProjected() |
boolean |
isXyAxisOrder()
Gets the behaviour of the WMS client with regards the axis order
Returns
true if the WMS parser should assume that the
order of the coordinates follows the XY axis order
(the first coordinate corresponds to the horizontal X
axis, while the second coordinate corresponds to the
vertical Y axis), regardless the protocol version and CRS in use. |
boolean |
removeLayerName(java.lang.String _layerName)
removes a layer from the layer list
|
boolean |
removeStyleName(java.lang.String _name)
Removes a style from the list of styles required by the WMS client
|
void |
setDimensions(java.util.Vector _dimensions)
sets the styles list required by the WMS client
|
void |
setExtent(java.awt.geom.Rectangle2D extent)
Sets the extent defined by the map
|
void |
setLayerNames(java.util.Vector _layers) |
void |
setOnlineResource(java.lang.String url)
Sets the string literal containing the URL of an online resource for a specific
WMS request.
|
void |
setProjected(boolean projected) |
void |
setStyles(java.util.Vector _styles)
sets the styles list required by the WMS client
|
void |
setTransparency(boolean wmsTransparency) |
void |
setXyAxisOrder(boolean assumeXY)
Sets the behaviour of the WMS client with regards the axis order.
|
getExceptionFormat, getFormat, getHeight, getInfoFormat, getProtocol, getSrs, getWidth, setExceptionFormat, setFormat, setHeight, setInfoFormat, setProtocol, setSrs, setWidth
public void setLayerNames(java.util.Vector _layers)
public java.util.Vector getLayerNames()
Retrieves the layer list required by the WMS client
public void addLayerName(java.lang.String _layerName)
Adds a layer to the list of layers required by the WMS client
_layerName,
- name of the layer to be added.public boolean removeLayerName(java.lang.String _layerName)
removes a layer from the layer list
_layerName
- public java.util.Vector getStyles()
gets the styles list required by the WMS client
public void setStyles(java.util.Vector _styles)
sets the styles list required by the WMS client
_styles,
- list to be set as the required styles.public void setDimensions(java.util.Vector _dimensions)
sets the styles list required by the WMS client
_styles,
- list to be set as the required styles.public void addStyleName(java.lang.String _name)
Adds a style name to the styles list required by the WMS client
_name,
- style name to be addedpublic boolean removeStyleName(java.lang.String _name)
Removes a style from the list of styles required by the WMS client
_name,
- style name to be removedpublic java.awt.geom.Rectangle2D getExtent()
Gets the extent defined by the map
public void setExtent(java.awt.geom.Rectangle2D extent)
Sets the extent defined by the map
public boolean getTransparency()
public void setTransparency(boolean wmsTransparency)
wmsTransparency
- public java.util.Vector getDimensions()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getOnlineResource()
operationName,
- a String containing the name of the operation (case-independent)public void setOnlineResource(java.lang.String url)
operationName,
- String telling to which request correspond the addressurl,
- String containing the URL for the given WMS requestpublic boolean isProjected()
public void setProjected(boolean projected)
public boolean isXyAxisOrder()
Gets the behaviour of the WMS client with regards the axis order
Returns true
if the WMS parser should assume that the
order of the coordinates follows the XY axis order
(the first coordinate corresponds to the horizontal X
axis, while the second coordinate corresponds to the
vertical Y axis), regardless the protocol version and CRS in use.
Returns false
if the WMS parser should decide the
axis order based on the protocol version and the coordinate
reference system (CRS) in use. In particular, if protocol
version is >= 1.3.0, then the WMS parser assumes
the axis order defined in the official EPSG registry for the
CRS in use. For versions < 1.3.0, the XY axis order is assumed.
The default value is false
setXyAxisOrder(boolean)
public void setXyAxisOrder(boolean assumeXY)
Sets the behaviour of the WMS client with regards the axis order.
If set to true
, then the XY axis order
is assumed for all the WMS
protocol versions and coordinate reference systems.
If set to false
then the WMS parser will decide the axis order based on
the protocol version and the coordinate reference system (CRS)
in use. In particular, if protocol
version is >= 1.3.0, then the WMS parser assumes
the axis order defined in the official EPSG registry for the
CRS in use. For versions < 1.3.0, the XY axis order is assumed.
assumeXY
- isXyAxisOrder()