Package jadex.binary
Interface IDecoderHandler
- All Known Implementing Classes:
AbstractCodec,ArrayCodec,BeanCodec,BigIntegerCodec,CalendarCodec,CertificateCodec,ClassCodec,CollectionCodec,ColorCodec,CurrencyCodec,DateCodec,EnumCodec,EnumerationCodec,ImageCodec,InetAddressCodec,LocalDateTimeCodec,LoggingLevelCodec,LogRecordCodec,LRUCodec,MapCodec,MultiCollectionCodec,NumberCodec,OptionalCodec,RectangleCodec,SimpleDateFormatCodec,StackTraceElementCodec,StringCodec,ThrowableCodec,TimestampCodec,TupleCodec,URICodec,URLCodec,UUIDCodec
public interface IDecoderHandler
-
Method Summary
Modifier and TypeMethodDescriptiondecode(Class<?> clazz, IDecodingContext context) Decodes an object.booleanisApplicable(Class<?> clazz) Tests if the decoder can decode the class.
-
Method Details
-
isApplicable
Tests if the decoder can decode the class.- Parameters:
clazz- The class.- Returns:
- True, if the decoder can decode this class.
-
decode
Decodes an object.- Parameters:
clazz- The class of the object.context- The decoding context.- Returns:
- The decoded object.
-