T
- the result of the decoding process, the "Target"S
- the input which is decoded, the "Source"public interface Decoder<T,S> extends ConformanceClass
Modifier and Type | Method and Description |
---|---|
T |
decode(S objectToDecode)
Decode a object to another representation.
|
Set<DecoderKey> |
getDecoderKeyTypes() |
Map<ServiceConstants.SupportedTypeKey,Set<String>> |
getSupportedTypes()
Get the ServiceConstants.SupportedTypeKey in the case of having only generic
java types, e.g.
|
getConformanceClasses
Set<DecoderKey> getDecoderKeyTypes()
DecoderKey
) is able to decodeT decode(S objectToDecode) throws OwsExceptionReport, UnsupportedDecoderInputException
objectToDecode
- the object to encodeOwsExceptionReport
- if an error occursUnsupportedDecoderInputException
- if the supplied type (or any of it's contents) is not
supported by this decoderMap<ServiceConstants.SupportedTypeKey,Set<String>> getSupportedTypes()
Copyright © 2012-2014 52north.org. All Rights Reserved.