public class WMSStatus extends RemoteClientStatus
Constructor and Description |
---|
WMSStatus() |
Modifier and Type | Method and Description |
---|---|
void |
addLayerName(String _layerName)
Adds a layer to the list of layers required by the WMS client
|
void |
addStyleName(String _name)
Adds a style name to the styles list required by the WMS client
|
Object |
clone() |
boolean |
equals(Object obj) |
Vector |
getDimensions() |
Rectangle2D |
getExtent()
Gets the extent defined by the map
|
Vector |
getLayerNames()
Retrieves the layer list required by the WMS client
|
String |
getOnlineResource()
Returns the URL that the server specified for a WMS request if any was described in
its capabilities document.
|
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(String _layerName)
removes a layer from the layer list
|
boolean |
removeStyleName(String _name)
Removes a style from the list of styles required by the WMS client
|
void |
setDimensions(Vector _dimensions)
sets the styles list required by the WMS client
|
void |
setExtent(Rectangle2D extent)
Sets the extent defined by the map
|
void |
setLayerNames(Vector _layers) |
void |
setOnlineResource(String url)
Sets the string literal containing the URL of an online resource for a specific
WMS request.
|
void |
setProjected(boolean projected) |
void |
setStyles(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(Vector _layers)
public Vector getLayerNames()
Retrieves the layer list required by the WMS client
public void addLayerName(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(String _layerName)
removes a layer from the layer list
_layerName
- public Vector getStyles()
gets the styles list required by the WMS client
public void setStyles(Vector _styles)
sets the styles list required by the WMS client
_styles,
- list to be set as the required styles.public void setDimensions(Vector _dimensions)
sets the styles list required by the WMS client
_styles,
- list to be set as the required styles.public void addStyleName(String _name)
Adds a style name to the styles list required by the WMS client
_name,
- style name to be addedpublic boolean removeStyleName(String _name)
Removes a style from the list of styles required by the WMS client
_name,
- style name to be removedpublic Rectangle2D getExtent()
Gets the extent defined by the map
public void setExtent(Rectangle2D extent)
Sets the extent defined by the map
public boolean getTransparency()
public void setTransparency(boolean wmsTransparency)
wmsTransparency
- public Vector getDimensions()
public String getOnlineResource()
operationName,
- a String containing the name of the operation (case-independent)public void setOnlineResource(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()