public abstract class AbstractWCSXMLEncoder extends java.lang.Object implements WCSXMLEncoder
Abstract WCS XML document encoder.
Realize general WCS XML encoding method.
VERSION_STR, WCS_URL_STR
Constructor and Description |
---|
AbstractWCSXMLEncoder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
encode(Coverage coverage)
Encoding the Coverage object of the WCS service.
|
java.lang.String |
encode(java.util.List<CoverageDescription> coverageDescriptionList)
Encoding the description information list of Coverage of WCS service.
|
java.lang.String |
encode(OGCException ogcException)
Encoding the exception information object of the WCS service.
|
java.lang.String |
encode(WCSCapabilities wcsCapabilities)
Encoding the WCS service provision capability information object.
|
void |
setBaseURL(java.lang.String url)
Set the URL of the WCS service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVersion
public java.lang.String encode(WCSCapabilities wcsCapabilities) throws java.io.IOException
Encoding the WCS service provision capability information object.
encode
in interface WCSXMLEncoder
wcsCapabilities
- WCS service provision capability information object, which is the operation result of GetCapabilities.java.io.IOException
public java.lang.String encode(java.util.List<CoverageDescription> coverageDescriptionList) throws java.io.IOException
Encoding the description information list of Coverage of WCS service.
encode
in interface WCSXMLEncoder
coverageDescriptionList
- the description information of Coverage of WCS service, which is the operation result of DescribeCoverage.java.io.IOException
public java.lang.String encode(Coverage coverage) throws java.io.IOException
Encoding the Coverage object of the WCS service.
encode
in interface WCSXMLEncoder
coverage
- Coverage object of WCS service, which is the operation result of GetCoverage.java.io.IOException
public java.lang.String encode(OGCException ogcException) throws java.io.IOException
Encoding the exception information object of the WCS service.
encode
in interface WCSXMLEncoder
ogcException
- the exception information.java.io.IOException
public void setBaseURL(java.lang.String url)
Set the URL of the WCS service.
setBaseURL
in interface WCSXMLEncoder
url
- the URL of the WCS service.