public class Soap12XmlStreamWriter extends XmlStreamWriter<org.n52.shetland.w3c.soap.SoapResponse>
XmlStreamWriter implementation for SOAP 1.2XML_FRAGMENT| Constructor and Description |
|---|
Soap12XmlStreamWriter(EncodingContext context,
OutputStream outputStream,
org.n52.shetland.w3c.soap.SoapResponse element) |
| Modifier and Type | Method and Description |
|---|---|
protected Encoder<Object,org.n52.shetland.ogc.ows.service.OwsServiceResponse> |
getEncoder(org.n52.shetland.ogc.ows.service.OwsServiceResponse abstractServiceResponse) |
protected Set<org.n52.shetland.w3c.SchemaLocation> |
getSchemaLocation() |
void |
write()
Encode and write element to the
OutputStream. |
protected void |
writeBodyContent(org.n52.shetland.ogc.ows.service.OwsServiceResponse bodyResponse)
Encode and write the
OwsServiceResponse to stream |
protected void |
writeSoapBody()
Write the SOAP 1.2 body element
|
protected void |
writeSoapEnvelope()
Write the SOAP 1.2. envelope element
|
protected void |
writeSoapFault(org.n52.shetland.w3c.soap.SoapFault fault)
Encode and write SOAP 1.2 fault element to SOAP 1.2 body element
|
protected void |
writeSoapFaultFromException(org.n52.shetland.ogc.ows.exception.OwsExceptionReport exception)
Encode and write
OwsExceptionReport element to SOAP 1.2 body element |
addXlinkHrefAttr, addXlinkTitleAttr, attr, attr, attr, chars, chars, empty, end, end, endInline, finish, flush, getContext, getElement, getEncodeNamespace, getEncoder, getEncoder, getEncoder, getOutputStream, getReplacement, getXmlOptions, isAddSchemaLocation, namespace, rawText, schemaLocation, start, start, time, time, tryGetEncoder, writeXmlObject, writeXmlObjectpublic Soap12XmlStreamWriter(EncodingContext context, OutputStream outputStream, org.n52.shetland.w3c.soap.SoapResponse element) throws XMLStreamException
XMLStreamExceptionpublic void write()
throws EncodingException,
XMLStreamException
XmlStreamWriterOutputStream.write in class XmlStreamWriter<org.n52.shetland.w3c.soap.SoapResponse>EncodingException - If an encoding error occursXMLStreamException - If an error occurs when writing to OutputStreamprotected void writeSoapEnvelope()
throws XMLStreamException,
EncodingException
XMLStreamException - If an error occurs when writing to OutputStream If an error occurs when
writing to OutputStreamEncodingException - If an encoding error occursprotected Set<org.n52.shetland.w3c.SchemaLocation> getSchemaLocation() throws EncodingException, XMLStreamException
EncodingExceptionXMLStreamExceptionprotected void writeSoapBody()
throws XMLStreamException,
EncodingException
XMLStreamException - If an error occurs when writing to OutputStreamEncodingException - If an encoding error occursprotected void writeBodyContent(org.n52.shetland.ogc.ows.service.OwsServiceResponse bodyResponse)
throws XMLStreamException,
EncodingException
OwsServiceResponse to streambodyResponse - The service internal response to encode and writeXMLStreamException - If an error occurs when writing to OutputStreamEncodingException - If an encoding error occursprotected void writeSoapFault(org.n52.shetland.w3c.soap.SoapFault fault)
throws EncodingException,
XMLStreamException
fault - Service internal SOAP fault representationEncodingException - If an encoding error occursXMLStreamException - If an error occurs when writing to OutputStreamprotected void writeSoapFaultFromException(org.n52.shetland.ogc.ows.exception.OwsExceptionReport exception)
throws EncodingException,
XMLStreamException
OwsExceptionReport element to SOAP 1.2 body elementexception - Service internal OwsExceptionReportEncodingException - If an encoding error occursXMLStreamException - If an error occurs when writing to OutputStreamprotected Encoder<Object,org.n52.shetland.ogc.ows.service.OwsServiceResponse> getEncoder(org.n52.shetland.ogc.ows.service.OwsServiceResponse abstractServiceResponse) throws NoEncoderForKeyException
NoEncoderForKeyExceptionCopyright © 2016–2017 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.