Package jadex.binary
Interface IDecoderHandler
-
- All Known Implementing Classes:
AbstractCodec,ArrayCodec,BeanCodec,BigIntegerCodec,BinaryResponseProcessor,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectdecode(java.lang.Class<?> clazz, IDecodingContext context)Decodes an object.booleanisApplicable(java.lang.Class<?> clazz)Tests if the decoder can decode the class.
-
-
-
Method Detail
-
isApplicable
boolean isApplicable(java.lang.Class<?> clazz)
Tests if the decoder can decode the class.- Parameters:
clazz- The class.- Returns:
- True, if the decoder can decode this class.
-
decode
java.lang.Object decode(java.lang.Class<?> clazz, IDecodingContext context)Decodes an object.- Parameters:
clazz- The class of the object.context- The decoding context.- Returns:
- The decoded object.
-
-