com.supermap.services.wcs
Interface WCSXMLEncoder
-
- All Known Implementing Classes:
- AbstractWCSXMLEncoder, WCSXMLEncoder111, WCSXMLEncoder112
public interface WCSXMLEncoderWCS object encoder interface.
Encoding for the
WCSCapabilities, List<CoverageDescription>,Coverage,OGCException[] objects according to OGC standard, convert it to standard XML document(string).
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringVERSION_STRstatic java.lang.StringWCS_URL_STR
-
Method Summary
Methods Modifier and Type Method and Description java.lang.Stringencode(Coverage coverage)Encoding the Coverage object of the WCS service.java.lang.Stringencode(java.util.List<CoverageDescription> coverageDescriptionList)Encoding the description information list of Coverage of WCS service.java.lang.Stringencode(OGCException ogcException)Encoding the exception information object of the WCS service.java.lang.Stringencode(WCSCapabilities wcsCapabilities)Encoding the WCS service provision capability information object.java.lang.StringgetVersion()Get the version of the current WCS object encoder.voidsetBaseURL(java.lang.String url)Set the URL of the WCS service.
-
-
-
Field Detail
-
VERSION_STR
static final java.lang.String VERSION_STR
- See Also:
- Constant Field Values
-
WCS_URL_STR
static final java.lang.String WCS_URL_STR
- See Also:
- Constant Field Values
-
-
Method Detail
-
encode
java.lang.String encode(WCSCapabilities wcsCapabilities) throws java.io.IOException
Encoding the WCS service provision capability information object.
- Parameters:
wcsCapabilities- WCS service provision capability information object, which is the operation result of GetCapabilities.- Returns:
- the description information of GetCapabilities response in WCS standard.
- Throws:
java.io.IOException
-
encode
java.lang.String encode(java.util.List<CoverageDescription> coverageDescriptionList) throws java.io.IOException
Encoding the description information list of Coverage of WCS service.
- Parameters:
coverageDescriptionList- the description information of Coverage of WCS service, which is the operation result of DescribeCoverage.- Returns:
- the description information of DescribeCoverage response in WCS standard.
- Throws:
java.io.IOException
-
encode
java.lang.String encode(Coverage coverage) throws java.io.IOException
Encoding the Coverage object of the WCS service.
- Parameters:
coverage- Coverage object of WCS service, which is the operation result of GetCoverage.- Returns:
- the description information of GetCoverage response in WCS standard.
- Throws:
java.io.IOException
-
encode
java.lang.String encode(OGCException ogcException) throws java.io.IOException
Encoding the exception information object of the WCS service.
- Parameters:
ogcException- the exception information.- Returns:
- the exception information description of the standard.
- Throws:
java.io.IOException
-
setBaseURL
void setBaseURL(java.lang.String url)
Set the URL of the WCS service.
- Parameters:
url- the URL of the WCS service.
-
getVersion
java.lang.String getVersion()
Get the version of the current WCS object encoder.
That is, the version of the WCS service, indicating that the current WCS object encoder has the ability to encode the version of the WCS service object.
- Returns:
- the versionof WCS object encoder.
-
-