public class OwsExceptionReportEncoder extends Object implements Encoder<EXIObject,OwsExceptionReport>
EXIObject
and OwsExceptionReport
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE |
private Set<EncoderKey> |
encoderKeys |
Constructor and Description |
---|
OwsExceptionReportEncoder()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
|
EXIObject |
encode(OwsExceptionReport objectToEncode)
Encodes the specified object.
|
EXIObject |
encode(OwsExceptionReport objectToEncode,
Map<SosConstants.HelperValues,String> additionalValues)
Encodes the specified object with the specified SosConstants.HelperValues
.
|
Set<String> |
getConformanceClasses() |
MediaType |
getContentType() |
protected <D,S> Encoder<D,S> |
getEncoder(EncoderKey key)
Getter for encoder, encapsulates the instance call
|
Set<EncoderKey> |
getEncoderKeyType() |
Set<SchemaLocation> |
getSchemaLocations() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
|
public static final String CONTENT_TYPE
private final Set<EncoderKey> encoderKeys
public Set<EncoderKey> getEncoderKeyType()
getEncoderKeyType
in interface Encoder<EXIObject,OwsExceptionReport>
EncoderKey
)public Map<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Encoder
getSupportedTypes
in interface Encoder<EXIObject,OwsExceptionReport>
public void addNamespacePrefixToMap(Map<String,String> nameSpacePrefixMap)
Encoder
addNamespacePrefixToMap
in interface Encoder<EXIObject,OwsExceptionReport>
public MediaType getContentType()
getContentType
in interface Encoder<EXIObject,OwsExceptionReport>
public Set<SchemaLocation> getSchemaLocations()
getSchemaLocations
in interface Encoder<EXIObject,OwsExceptionReport>
public Set<String> getConformanceClasses()
getConformanceClasses
in interface ConformanceClass
public EXIObject encode(OwsExceptionReport objectToEncode) throws OwsExceptionReport, UnsupportedEncoderInputException
Encoder
encode
in interface Encoder<EXIObject,OwsExceptionReport>
objectToEncode
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedEncoderInputException
- if the supplied object (or any of it's contents) is not
supported by this encoderpublic EXIObject encode(OwsExceptionReport objectToEncode, Map<SosConstants.HelperValues,String> additionalValues) throws OwsExceptionReport, UnsupportedEncoderInputException
Encoder
encode
in interface Encoder<EXIObject,OwsExceptionReport>
objectToEncode
- 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 encoderprotected <D,S> Encoder<D,S> getEncoder(EncoderKey key)
key
- Encoder keyCopyright © 2012-2015 52north.org. All Rights Reserved.