com.supermap.services.wps

Interface WPSXMLEncoder

  • All Known Implementing Classes:
    WPSXMLEncoder100


    public interface WPSXMLEncoder
    

    WPS object encoder.

    Encode the WPSCapabilities, OGCException[] objects based on OGC standard, and serialize it to a XML document.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.String encode(ExceptionReport exceptionReport)
      Encoding the exception information object of the WPS service.
      java.lang.String encode(ExecuteResponse executeResponse)
      Encode the object after WPS Processing.
      java.lang.String encode(ProcessDescriptions processDescriptions)
      Encode the WPS Processing description object.
      java.lang.String encode(WPSCapabilitiesType wpsCapabilitiesType)
      Encoding the WPS service provision capability information object.
      java.lang.String getVersion()
      Get the version of the current WPS object encoder.
      void setWriter(java.io.Writer writer)
      Set output stream.
    • Method Detail

      • encode

        java.lang.String encode(WPSCapabilitiesType wpsCapabilitiesType)
                                throws java.io.IOException,
                                       javax.xml.bind.JAXBException
        

        Encoding the WPS service provision capability information object.

        Parameters:
        wpsCapabilities - WPS service provision capability information object, which is the operation result of GetCapabilities.
        Returns:
        the description information of GetCapabilities response in WPS standard.
        Throws:
        javax.xml.bind.JAXBException
        java.io.IOException
      • encode

        java.lang.String encode(ProcessDescriptions processDescriptions)
                                throws java.io.IOException,
                                       javax.xml.bind.JAXBException
        

        Encode the WPS Processing description object.

        Parameters:
        processDescriptions - the Processing description object of WPS
        Returns:
        the description information of DescribeProcess response in WPS standard.
        Throws:
        javax.xml.bind.JAXBException
        java.io.IOException
      • encode

        java.lang.String encode(ExecuteResponse executeResponse)
                                throws javax.xml.bind.JAXBException,
                                       java.io.IOException
        

        Encode the object after WPS Processing.

        Parameters:
        executeResponse - information.
        Returns:
        encode response information description of WPS standard.
        Throws:
        java.io.IOException
        javax.xml.bind.JAXBException
      • encode

        java.lang.String encode(ExceptionReport exceptionReport)
                                throws javax.xml.bind.JAXBException,
                                       java.io.IOException
        

        Encoding the exception information object of the WPS service.

        Parameters:
        exceptions - the exception information.
        Returns:
        the exception information description of the WPS standard.
        Throws:
        java.io.IOException
        javax.xml.bind.JAXBException
      • getVersion

        java.lang.String getVersion()
        

        Get the version of the current WPS object encoder.

        That is, the version of the WPS service, indicating that the current WPS object encoder has the ability to encode the version of the WPS service object.

        Returns:
        the versionof WPS object encoder.
      • setWriter

        void setWriter(java.io.Writer writer)
        

        Set output stream.

        Parameters:
        outputStream - output stream object.