|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gvsig.remoteclient.ogc.OGCProtocolHandler
org.gvsig.remoteclient.wcs.WCSProtocolHandler
public abstract class WCSProtocolHandler
| Field Summary | |
|---|---|
protected java.lang.String |
encoding
Encoding used to parse different xml documents. |
protected java.util.Hashtable |
layerPool
|
protected WCSServiceInformation |
serviceInfo
WCS metadata |
| Fields inherited from class org.gvsig.remoteclient.ogc.OGCProtocolHandler |
|---|
downloader, host, name, port, version |
| Constructor Summary | |
|---|---|
WCSProtocolHandler()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
buildCapabilitiesSuitableVersionRequest(java.lang.String _host,
java.lang.String _version)
Builds the GetCapabilitiesRequest according to the OGC WCS Specifications without a VERSION, to get the highest version than a WCS supports. |
abstract WCSDescribeCoverageRequest |
createDescribeCoverageRequest(WCSStatus status)
|
abstract WCSGetCoverageRequest |
createGetCoverageRequest(WCSStatus status)
|
void |
describeCoverage(WCSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
Send a DescribeCoverage request using the settings passed in the status argument. |
void |
getCapabilities(WCSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
Builds a GetCapabilities request that is sent to the WCS the response will be parse to extract the data needed by the WCS client. |
java.io.File |
getCoverage(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
Send a GetCoverage request using the settings passed in the status. |
java.net.URL |
getCoverageURL(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
|
java.lang.String |
getExceptionMessage(java.io.File f)
Returns the exception message if the file is a XML instead of a image. |
java.util.ArrayList |
getFormats()
|
java.util.Hashtable |
getLayers()
|
OGCServiceInformation |
getServiceInformation()
|
abstract boolean |
parseDescribeCoverage(java.io.File f)
parses the data retrieved by the DescribeCoverage XML document |
void |
setHost(java.lang.String host)
|
| Methods inherited from class org.gvsig.remoteclient.ogc.OGCProtocolHandler |
|---|
addOperationByAttribute, fileToBytes, getHost, getName, getPort, getSymbol, getVersion, parseCapabilities, parseHTTPTag, parserDcpType, setName, setPort, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String encoding
protected java.util.Hashtable layerPool
protected WCSServiceInformation serviceInfo
| Constructor Detail |
|---|
public WCSProtocolHandler()
| Method Detail |
|---|
public static java.lang.String buildCapabilitiesSuitableVersionRequest(java.lang.String _host,
java.lang.String _version)
public abstract WCSDescribeCoverageRequest createDescribeCoverageRequest(WCSStatus status)
public abstract WCSGetCoverageRequest createGetCoverageRequest(WCSStatus status)
public void describeCoverage(WCSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
override -
public void getCapabilities(WCSStatus status,
boolean override,
org.gvsig.compat.net.ICancellable cancel)
Builds a GetCapabilities request that is sent to the WCS the response will be parse to extract the data needed by the WCS client.
override, - if true the cache is ignored
public java.io.File getCoverage(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
throws ServerErrorException,
WCSException
ServerErrorException
WCSException
public java.net.URL getCoverageURL(WCSStatus status,
org.gvsig.compat.net.ICancellable cancel)
throws ServerErrorException,
WMSException
ServerErrorException
WMSException
public java.lang.String getExceptionMessage(java.io.File f)
throws java.io.IOException
file3 -
java.io.IOExceptionpublic java.util.ArrayList getFormats()
public java.util.Hashtable getLayers()
public OGCServiceInformation getServiceInformation()
getServiceInformation in class OGCProtocolHandlerpublic abstract boolean parseDescribeCoverage(java.io.File f)
public void setHost(java.lang.String host)
setHost in class OGCProtocolHandlerhost - The host to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||