public class WmsGetStyles extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
CONNECTION_TIMEOUT |
protected NamespaceContextMap |
context |
static org.apache.log4j.Logger |
logger |
protected HashMap<String,String> |
mappings |
Constructor and Description |
---|
WmsGetStyles()
Instantiates a new wms get styles.
|
Modifier and Type | Method and Description |
---|---|
WmsServiceBaseUri |
foundWmsServiceBaseUri(String uri)
Gets the geoserver base uri.
|
int |
getResponseCode()
Gets the response code.
|
List<String> |
getStylesFromWms(String urlConn,
String layerName)
Gets the styles from wms.
|
static void |
main(String[] args)
The main method.
|
String |
toString() |
protected static final int CONNECTION_TIMEOUT
public static org.apache.log4j.Logger logger
protected NamespaceContextMap context
public List<String> getStylesFromWms(String urlConn, String layerName)
urlConn
- the url connlayerName
- the layer namepublic WmsServiceBaseUri foundWmsServiceBaseUri(String uri)
uri
- the uripublic int getResponseCode()
public static void main(String[] args)
args
- the argumentsCopyright © 2016. All Rights Reserved.