com.supermap.services.wcs.impl
Class AbstractWCSXMLEncoder
- java.lang.Object
-
- com.supermap.services.wcs.impl.AbstractWCSXMLEncoder
-
- All Implemented Interfaces:
- WCSXMLEncoder
- Direct Known Subclasses:
- WCSXMLEncoder111, WCSXMLEncoder112
public abstract class AbstractWCSXMLEncoder extends java.lang.Object implements WCSXMLEncoder
Abstract WCS XML document encoder.
Realize general WCS XML encoding method.
-
-
Field Summary
-
Fields inherited from interface com.supermap.services.wcs.WCSXMLEncoder
VERSION_STR, WCS_URL_STR
-
-
Constructor Summary
Constructors Constructor and Description AbstractWCSXMLEncoder()
-
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.voidsetBaseURL(java.lang.String url)Set the URL of the WCS service.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.supermap.services.wcs.WCSXMLEncoder
getVersion
-
-
-
-
Method Detail
-
encode
public java.lang.String encode(WCSCapabilities wcsCapabilities) throws java.io.IOException
Encoding the WCS service provision capability information object.
- Specified by:
encodein interfaceWCSXMLEncoder- 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
public java.lang.String encode(java.util.List<CoverageDescription> coverageDescriptionList) throws java.io.IOException
Encoding the description information list of Coverage of WCS service.
- Specified by:
encodein interfaceWCSXMLEncoder- 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
public java.lang.String encode(Coverage coverage) throws java.io.IOException
Encoding the Coverage object of the WCS service.
- Specified by:
encodein interfaceWCSXMLEncoder- 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
public java.lang.String encode(OGCException ogcException) throws java.io.IOException
Encoding the exception information object of the WCS service.
- Specified by:
encodein interfaceWCSXMLEncoder- Parameters:
ogcException- the exception information.- Returns:
- the exception information description of the standard.
- Throws:
java.io.IOException
-
setBaseURL
public void setBaseURL(java.lang.String url)
Set the URL of the WCS service.
- Specified by:
setBaseURLin interfaceWCSXMLEncoder- Parameters:
url- the URL of the WCS service.
-
-