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 Type
    Method
    Description
    decode(Class<?> clazz, IDecodingContext context)
    Decodes an object.
    boolean
    isApplicable(Class<?> clazz)
    Tests if the decoder can decode the class.
  • Method Details

    • isApplicable

      boolean isApplicable(Class<?> clazz)
      Tests if the decoder can decode the class.
      Parameters:
      clazz - The class.
      Returns:
      True, if the decoder can decode this class.
    • decode

      Object decode(Class<?> clazz, IDecodingContext context)
      Decodes an object.
      Parameters:
      clazz - The class of the object.
      context - The decoding context.
      Returns:
      The decoded object.