Module com.cryptoalgo.oursql.oursql
Package com.cryptoalgo.codable
Interface Encodable<T extends Enum<T>>
- Type Parameters:
T- Type of enum of codingKeys to be used during encoding
public interface Encodable<T extends Enum<T>>
Interface which allows classes that implement it to be serialised
by
Encoders- See Also:
-
Method Summary
-
Method Details
-
encode
Encodes the fields in this class with an encoder.- Parameters:
encoder- Encoder to be used for encoding- Throws:
EncodingException- If the encoder threw an exception
-