public interface WPSXMLEncoder
WPS object encoder.
Encode the WPSCapabilities
, OGCException
[] objects based on OGC standard, and serialize it to a XML document.
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.
|
java.lang.String encode(WPSCapabilitiesType wpsCapabilitiesType) throws java.io.IOException, javax.xml.bind.JAXBException
Encoding the WPS service provision capability information object.
wpsCapabilities
- WPS service provision capability information object, which is the operation result of GetCapabilities.javax.xml.bind.JAXBException
java.io.IOException
java.lang.String encode(ProcessDescriptions processDescriptions) throws java.io.IOException, javax.xml.bind.JAXBException
Encode the WPS Processing description object.
processDescriptions
- the Processing description object of WPSjavax.xml.bind.JAXBException
java.io.IOException
java.lang.String encode(ExecuteResponse executeResponse) throws javax.xml.bind.JAXBException, java.io.IOException
Encode the object after WPS Processing.
executeResponse
- information.java.io.IOException
javax.xml.bind.JAXBException
java.lang.String encode(ExceptionReport exceptionReport) throws javax.xml.bind.JAXBException, java.io.IOException
Encoding the exception information object of the WPS service.
exceptions
- the exception information.java.io.IOException
javax.xml.bind.JAXBException
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.
void setWriter(java.io.Writer writer)
Set output stream.
outputStream
- output stream object.