public class Soap12XmlStreamWriter extends XmlStreamWriter<SoapResponse>
XmlStreamWriter implementation for SOAP 1.2XML_FRAGMENT| Constructor and Description |
|---|
Soap12XmlStreamWriter(EncodingContext context,
java.io.OutputStream outputStream,
SoapResponse element) |
| Modifier and Type | Method and Description |
|---|---|
protected Encoder<java.lang.Object,OwsServiceResponse> |
getEncoder(OwsServiceResponse abstractServiceResponse) |
protected java.util.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, java.io.OutputStream outputStream, SoapResponse element) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic void write()
throws EncodingException,
javax.xml.stream.XMLStreamException
XmlStreamWriterOutputStream.write in class XmlStreamWriter<SoapResponse>EncodingException - If an encoding error occursjavax.xml.stream.XMLStreamException - If an error occurs when writing to OutputStreamprotected void writeSoapEnvelope()
throws javax.xml.stream.XMLStreamException,
EncodingException
javax.xml.stream.XMLStreamException - If an error occurs when writing to OutputStream If an error occurs when
writing to OutputStreamEncodingException - If an encoding error occursprotected java.util.Set<SchemaLocation> getSchemaLocation() throws EncodingException, javax.xml.stream.XMLStreamException
EncodingExceptionjavax.xml.stream.XMLStreamExceptionprotected void writeSoapBody()
throws javax.xml.stream.XMLStreamException,
EncodingException
javax.xml.stream.XMLStreamException - If an error occurs when writing to OutputStreamEncodingException - If an encoding error occursprotected void writeBodyContent(OwsServiceResponse bodyResponse) throws javax.xml.stream.XMLStreamException, EncodingException
OwsServiceResponse to streambodyResponse - The service internal response to encode and writejavax.xml.stream.XMLStreamException - If an error occurs when writing to OutputStreamEncodingException - If an encoding error occursprotected void writeSoapFault(SoapFault fault) throws EncodingException, javax.xml.stream.XMLStreamException
fault - Service internal SOAP fault representationEncodingException - If an encoding error occursjavax.xml.stream.XMLStreamException - If an error occurs when writing to OutputStreamprotected void writeSoapFaultFromException(OwsExceptionReport exception) throws EncodingException, javax.xml.stream.XMLStreamException
OwsExceptionReport element to SOAP 1.2 body elementexception - Service internal OwsExceptionReportEncodingException - If an encoding error occursjavax.xml.stream.XMLStreamException - If an error occurs when writing to OutputStreamprotected Encoder<java.lang.Object,OwsServiceResponse> getEncoder(OwsServiceResponse abstractServiceResponse) throws NoEncoderForKeyException
NoEncoderForKeyExceptionCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.