public class Soap12Encoder extends AbstractSoapEncoder<org.apache.xmlbeans.XmlObject,Object> implements StreamingEncoder<org.apache.xmlbeans.XmlObject,Object>
Modifier and Type | Field and Description |
---|---|
private static Set<EncoderKey> |
ENCODER_KEY_TYPES |
private static org.slf4j.Logger |
LOGGER |
DEFAULT_FAULT_REASON, MISSING_EXCEPTION_DETAIL_TEXT, MISSING_RESPONSE_DETAIL_TEXT
AMPERSAND_CHAR, AMPERSAND_STRING, BACKSLASH_CHAR, BACKSLASH_STRING, BLANK_CHAR, BLANK_STRING, CLOSE_BRACE_CHAR, CLOSE_BRACE_STRING, COLON_CHAR, COLON_STRING, COMMA_CHAR, COMMA_SPACE_STRING, COMMA_STRING, CSV_BLOCK_SEPARATOR, CSV_TOKEN_SEPARATOR, DASH_CHAR, DASH_STRING, DEFAULT_ENCODING, DOLLAR_CHAR, DOLLAR_STRING, DOT_CHAR, DOT_STRING, DOUBLE_COLON_STRING, EMPTY_STRING, EPSG_WGS84, EPSG_WGS84_3D, EQUAL_SIGN_CHAR, EQUAL_SIGN_STRING, GREATER_THAN_SIGN_STRING, HASH_CODE_13, HASH_CODE_17, HASH_CODE_19, HASH_CODE_23, HASH_CODE_29, HASH_CODE_3, HASH_CODE_31, HASH_CODE_37, HASH_CODE_41, HASH_CODE_43, HASH_CODE_47, HASH_CODE_5, HASH_CODE_7, HTTP, INT_0, INT_1, INT_2, INT_3, INT_4, INVERTED_COMMA_CHAR, INVERTED_COMMA_STRING, LESS_THAN_SIGN_STRING, LINE_SEPARATOR_CHAR, LINE_SEPARATOR_STRING, MINUS_CHAR, MINUS_STRING, NUMBER_SIGN_CHAR, NUMBER_SIGN_STRING, OPEN_BRACE_CHAR, OPEN_BRACE_STRING, PERCENT_CHAR, PERCENT_STRING, PLUS_CHAR, PLUS_STRING, QUERSTIONMARK_CHAR, QUERSTIONMARK_STRING, SEMICOLON_CHAR, SEMICOLON_STRING, SLASH_CHAR, SLASH_STRING, SPACE_CHAR, SPACE_STRING, UNDERSCORE_CHAR, UNDERSCORE_STRING, URN
Constructor and Description |
---|
Soap12Encoder() |
Modifier and Type | Method and Description |
---|---|
private org.apache.xmlbeans.XmlObject |
createSOAP12Envelope(SoapResponse response,
Map<SosConstants.HelperValues,String> additionalValues) |
private org.apache.xmlbeans.XmlObject |
createSOAP12Fault(SoapFault soapFault) |
private org.apache.xmlbeans.XmlObject |
createSOAP12FaultFromExceptionResponse(OwsExceptionReport owsExceptionReport) |
private void |
createSOAP12Header(org.w3.x2003.x05.soapEnvelope.Envelope envelope,
List<SoapHeader> headers,
String action) |
org.apache.xmlbeans.XmlObject |
encode(Object element,
Map<SosConstants.HelperValues,String> additionalValues)
Encodes the specified object with the specified SosConstants.HelperValues
.
|
void |
encode(Object element,
OutputStream outputStream) |
void |
encode(Object element,
OutputStream outputStream,
EncodingValues encodingValues) |
boolean |
forceStreaming() |
Set<EncoderKey> |
getEncoderKeyType() |
Set<SchemaLocation> |
getSchemaLocations() |
addNamespacePrefixToMap, createSOAPBody, createSOAPBody, createSOAPFault, createSOAPFaultFromExceptionResponse, encode, getBodyContent, getConformanceClasses, getContentType, getExceptionActionURI, getSupportedTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNamespacePrefixToMap, encode, getContentType, getSupportedTypes
getConformanceClasses
private static final org.slf4j.Logger LOGGER
private static final Set<EncoderKey> ENCODER_KEY_TYPES
public boolean forceStreaming()
forceStreaming
in interface StreamingEncoder<org.apache.xmlbeans.XmlObject,Object>
public Set<EncoderKey> getEncoderKeyType()
getEncoderKeyType
in interface Encoder<org.apache.xmlbeans.XmlObject,Object>
getEncoderKeyType
in class AbstractSoapEncoder<org.apache.xmlbeans.XmlObject,Object>
EncoderKey
)public Set<SchemaLocation> getSchemaLocations()
getSchemaLocations
in interface Encoder<org.apache.xmlbeans.XmlObject,Object>
public org.apache.xmlbeans.XmlObject encode(Object element, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport
Encoder
encode
in interface Encoder<org.apache.xmlbeans.XmlObject,Object>
element
- the object to encodeadditionalValues
- the helper valuesOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderpublic void encode(Object element, OutputStream outputStream) throws OwsExceptionReport
encode
in interface StreamingEncoder<org.apache.xmlbeans.XmlObject,Object>
OwsExceptionReport
public void encode(Object element, OutputStream outputStream, EncodingValues encodingValues) throws OwsExceptionReport
encode
in interface StreamingEncoder<org.apache.xmlbeans.XmlObject,Object>
OwsExceptionReport
private org.apache.xmlbeans.XmlObject createSOAP12Envelope(SoapResponse response, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport
OwsExceptionReport
private void createSOAP12Header(org.w3.x2003.x05.soapEnvelope.Envelope envelope, List<SoapHeader> headers, String action) throws OwsExceptionReport
OwsExceptionReport
private org.apache.xmlbeans.XmlObject createSOAP12Fault(SoapFault soapFault)
private org.apache.xmlbeans.XmlObject createSOAP12FaultFromExceptionResponse(OwsExceptionReport owsExceptionReport) throws OwsExceptionReport
OwsExceptionReport
Copyright © 2012-2015 52north.org. All Rights Reserved.