com.supermap.services.wps
Interface WPSXMLEncoder
-
- All Known Implementing Classes:
- WPSXMLEncoder100
public interface WPSXMLEncoderWPS 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.Stringencode(ExceptionReport exceptionReport)Encoding the exception information object of the WPS service.java.lang.Stringencode(ExecuteResponse executeResponse)Encode the object after WPS Processing.java.lang.Stringencode(ProcessDescriptions processDescriptions)Encode the WPS Processing description object.java.lang.Stringencode(WPSCapabilitiesType wpsCapabilitiesType)Encoding the WPS service provision capability information object.java.lang.StringgetVersion()Get the version of the current WPS object encoder.voidsetWriter(java.io.Writer writer)Set output stream.
-
-
-
Method Detail
-
encode
java.lang.String encode(WPSCapabilitiesType wpsCapabilitiesType) throws java.io.IOException, javax.xml.bind.JAXBExceptionEncoding 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.JAXBExceptionjava.io.IOException
-
encode
java.lang.String encode(ProcessDescriptions processDescriptions) throws java.io.IOException, javax.xml.bind.JAXBExceptionEncode 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.JAXBExceptionjava.io.IOException
-
encode
java.lang.String encode(ExecuteResponse executeResponse) throws javax.xml.bind.JAXBException, java.io.IOExceptionEncode the object after WPS Processing.
- Parameters:
executeResponse- information.- Returns:
- encode response information description of WPS standard.
- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
encode
java.lang.String encode(ExceptionReport exceptionReport) throws javax.xml.bind.JAXBException, java.io.IOExceptionEncoding 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.IOExceptionjavax.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.
-
-