public class GeoNcWMSMetadataUtility extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COLORSCALERANGE |
static String |
COLORSCALERANGE_DEFAULT_VALUE |
static int |
DEFAULT_CONNECTION_TIMEOUT
The Constant CONNECTION_TIMEOUT.
|
static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
GeoNcWMSMetadataUtility(String wmsRequest)
Instantiates a new geo get styles utility.
|
GeoNcWMSMetadataUtility(String wmsRequest,
int connectionTimeout)
Instantiates a new geo get styles utility.
|
GeoNcWMSMetadataUtility(WmsUrlValidator validator)
Instantiates a new geo get styles utility.
|
GeoNcWMSMetadataUtility(WmsUrlValidator validator,
int connectionTimeout)
Instantiates a new geo get styles utility.
|
Modifier and Type | Method and Description |
---|---|
LayerStyles |
getLayerStyles() |
Map<String,String> |
getMapWmsNoStandardParameters()
Gets the map wms no standard parameters.
|
String |
getWmsRequest()
Gets the wms request.
|
LayerZAxis |
getZAxis() |
LayerStyles |
loadStyles()
Load styles for a layer (WMS or ncWMS).
|
LayerZAxis |
loadZAxis()
Load z-axis values for a ncWMS layer and put it into
getZAxis() |
String |
toString() |
public static org.apache.log4j.Logger logger
public static final String COLORSCALERANGE
public static final String COLORSCALERANGE_DEFAULT_VALUE
public static final int DEFAULT_CONNECTION_TIMEOUT
public GeoNcWMSMetadataUtility(String wmsRequest) throws Exception
wmsRequest
- the wms requestException
- the exceptionpublic GeoNcWMSMetadataUtility(String wmsRequest, int connectionTimeout) throws Exception
wmsRequest
- the wms requestconnectionTimeout
- the connection timeout sets a specified timeout value, in milliseconds, to be used when opening URLConnection.Exception
- the exceptionpublic GeoNcWMSMetadataUtility(WmsUrlValidator validator) throws Exception
validator
- the validatorException
- the exceptionpublic GeoNcWMSMetadataUtility(WmsUrlValidator validator, int connectionTimeout) throws Exception
validator
- the validatorconnectionTimeout
- the connection timeout sets a specified timeout value, in milliseconds, to be used when opening URLConnection.Exception
- the exceptionpublic LayerStyles loadStyles()
LayerStyles.getGeoStyles()
and override the value of NcWmsGetMetadataRequest.COLORSCALERANGE
for ncWMS styles and put it into Map LayerStyles.getMapNcWmsStyles()
public LayerZAxis loadZAxis() throws Exception
getZAxis()
Exception
public LayerZAxis getZAxis()
public LayerStyles getLayerStyles()
public String getWmsRequest()
public Map<String,String> getMapWmsNoStandardParameters()
Copyright © 2016. All Rights Reserved.