com.supermap.services.wcs.impl

Class AbstractWCSXMLEncoder

  • java.lang.Object
    • com.supermap.services.wcs.impl.AbstractWCSXMLEncoder
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractWCSXMLEncoder

        public AbstractWCSXMLEncoder()
        
    • Method Detail

      • encode

        public java.lang.String encode(WCSCapabilities wcsCapabilities)
                                throws java.io.IOException
        

        Encoding the WCS service provision capability information object.

        Specified by:
        encode in interface WCSXMLEncoder
        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:
        encode in interface WCSXMLEncoder
        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:
        encode in interface WCSXMLEncoder
        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:
        encode in interface WCSXMLEncoder
        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:
        setBaseURL in interface WCSXMLEncoder
        Parameters:
        url - the URL of the WCS service.