public class WPSXMLEncoder100 extends java.lang.Object implements WPSXMLEncoder
WPS 1.0.0 service object encoder.
According to the WPS 1.0.0 standard to encode the object, convert it to a standard XML document (string).
Constructor and Description |
---|
WPSXMLEncoder100()
The Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
encode(ExceptionReport exceptionReport)
Encoding the exception information object of the WPS 1.0.0 service.
|
java.lang.String |
encode(ExecuteResponse executeResponse)
Encode the object after WPS 1.0.0 Processing.
|
java.lang.String |
encode(ProcessDescriptions processDescriptions)
Encode the WPS 1.0.0 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, here is 1.0.0.
|
void |
setWriter(java.io.Writer writer)
Set output stream.
|
public java.lang.String getVersion()
Get the version of the current WPS object encoder, here is 1.0.0.
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.
getVersion
in interface WPSXMLEncoder
public void setWriter(java.io.Writer writer)
Set output stream.
setWriter
in interface WPSXMLEncoder
outputStream
- output stream object.public java.lang.String encode(ProcessDescriptions processDescriptions) throws java.io.IOException, javax.xml.bind.JAXBException
Encode the WPS 1.0.0 Processing description object.
encode
in interface WPSXMLEncoder
processDescriptions
- the Processing description object of WPSjavax.xml.bind.JAXBException
java.io.IOException
public java.lang.String encode(ExecuteResponse executeResponse) throws javax.xml.bind.JAXBException, java.io.IOException
Encode the object after WPS 1.0.0 Processing.
encode
in interface WPSXMLEncoder
executeResponse
- information.java.io.IOException
javax.xml.bind.JAXBException
public java.lang.String encode(WPSCapabilitiesType wpsCapabilitiesType) throws javax.xml.bind.JAXBException, java.io.IOException
Encoding the WPS service provision capability information object.
encode
in interface WPSXMLEncoder
wpsCapabilities
- WPS 1.0.0 service provision capability information object, which is the operation result of GetCapabilities.java.io.IOException
javax.xml.bind.JAXBException
public java.lang.String encode(ExceptionReport exceptionReport) throws javax.xml.bind.JAXBException, java.io.IOException
Encoding the exception information object of the WPS 1.0.0 service.
encode
in interface WPSXMLEncoder
exceptions
- the exception information.java.io.IOException
javax.xml.bind.JAXBException