Modifier and Type | Field and Description |
---|---|
private static Set<EncoderKey> |
ENCODER_KEYS |
private static org.slf4j.Logger |
LOGGER |
Constructor and Description |
---|
WsaEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
|
org.apache.xmlbeans.XmlObject |
encode(WsaHeader wsaHeader)
Encodes the specified object.
|
org.apache.xmlbeans.XmlObject |
encode(WsaHeader wsaHeader,
Map<SosConstants.HelperValues,String> additionalValues)
Encodes the specified object with the specified SosConstants.HelperValues
.
|
private org.apache.xmlbeans.XmlObject |
encodeActionHeader(WsaActionHeader wsaHeader) |
private org.apache.xmlbeans.XmlObject |
encodeMessageIDHeader(WsaMessageIDHeader wsaHeader) |
private org.apache.xmlbeans.XmlObject |
encodeRelatesToHeader(WsaRelatesToHeader wsaHeader) |
private org.apache.xmlbeans.XmlObject |
encodeReplyToHeader(WsaReplyToHeader wsaHeader) |
private org.apache.xmlbeans.XmlObject |
encodeToHeader(WsaToHeader wsaHeader) |
Set<String> |
getConformanceClasses() |
MediaType |
getContentType() |
Set<EncoderKey> |
getEncoderKeyType() |
Set<SchemaLocation> |
getSchemaLocations() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
|
private static final org.slf4j.Logger LOGGER
private static final Set<EncoderKey> ENCODER_KEYS
public Set<EncoderKey> getEncoderKeyType()
getEncoderKeyType
in interface Encoder<org.apache.xmlbeans.XmlObject,WsaHeader>
EncoderKey
)public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Encoder
getSupportedTypes
in interface Encoder<org.apache.xmlbeans.XmlObject,WsaHeader>
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
Encoder
addNamespacePrefixToMap
in interface Encoder<org.apache.xmlbeans.XmlObject,WsaHeader>
public MediaType getContentType()
getContentType
in interface Encoder<org.apache.xmlbeans.XmlObject,WsaHeader>
public Set<SchemaLocation> getSchemaLocations()
getSchemaLocations
in interface Encoder<org.apache.xmlbeans.XmlObject,WsaHeader>
public org.apache.xmlbeans.XmlObject encode(WsaHeader wsaHeader) throws OwsExceptionReport
Encoder
encode
in interface Encoder<org.apache.xmlbeans.XmlObject,WsaHeader>
wsaHeader
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderpublic org.apache.xmlbeans.XmlObject encode(WsaHeader wsaHeader, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport
Encoder
encode
in interface Encoder<org.apache.xmlbeans.XmlObject,WsaHeader>
wsaHeader
- 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 encoderprivate org.apache.xmlbeans.XmlObject encodeReplyToHeader(WsaReplyToHeader wsaHeader)
private org.apache.xmlbeans.XmlObject encodeRelatesToHeader(WsaRelatesToHeader wsaHeader)
private org.apache.xmlbeans.XmlObject encodeMessageIDHeader(WsaMessageIDHeader wsaHeader)
private org.apache.xmlbeans.XmlObject encodeActionHeader(WsaActionHeader wsaHeader)
private org.apache.xmlbeans.XmlObject encodeToHeader(WsaToHeader wsaHeader)
Copyright © 2012-2015 52north.org. All Rights Reserved.