public class Soap12XmlStreamWriter extends XmlStreamWriter<SoapResponse>
XmlStreamWriter implementation for SOAP 1.2XML_FRAGMENT| Constructor and Description |
|---|
Soap12XmlStreamWriter(EncodingContext context,
OutputStream outputStream,
SoapResponse element) |
| Modifier and Type | Method and Description |
|---|---|
protected Encoder<Object,OwsServiceResponse> |
getEncoder(OwsServiceResponse abstractServiceResponse) |
protected Set<SchemaLocation> |
getSchemaLocation() |
void |
write()
Encode and write element to the
OutputStream. |
protected void |
writeBodyContent(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(SoapFault fault)
Encode and write SOAP 1.2 fault element to SOAP 1.2 body element
|
protected void |
writeSoapFaultFromException(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, SoapResponse element) throws XMLStreamException
XMLStreamExceptionpublic void write()
throws EncodingException,
XMLStreamException
XmlStreamWriterOutputStream.write in class XmlStreamWriter<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<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(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(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(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,OwsServiceResponse> getEncoder(OwsServiceResponse abstractServiceResponse) throws NoEncoderForKeyException
NoEncoderForKeyExceptionCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.