com.supermap.services.wcs

Interface WCSXMLEncoder

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String VERSION_STR 
      static java.lang.String WCS_URL_STR 
    • 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.
      java.lang.String getVersion()
      Get the version of the current WCS object encoder.
      void setBaseURL(java.lang.String url)
      Set the URL of the WCS service.
    • 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.