Package org.n52.svalbard.decode
Interface Decoder<T,S>
- Type Parameters:
T- the result of the decoding process, the "Target"S- the input which is decoded, the "Source"
- All Superinterfaces:
Component<DecoderKey>,Keyed<DecoderKey>
- All Known Subinterfaces:
ConformanceClassDecoder<T,,S> ProcedureDecoder<T,S>
- All Known Implementing Classes:
AbstractDelegatingDecoder
Generic interface for decoders.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionDecode a object to another representation.default Set<SupportedType> Gets the supported types of this decoder.
-
Method Details
-
decode
Decode a object to another representation.- Parameters:
objectToDecode- the object to encode- Returns:
- the encoded object
- Throws:
DecodingException- if an error occurs
-
getSupportedTypes
Gets the supported types of this decoder.- Returns:
- the supported key types
-