Package jadex.binary

Class MethodCodec


  • public class MethodCodec
    extends java.lang.Object
    • Constructor Detail

      • MethodCodec

        public MethodCodec()
    • Method Detail

      • isApplicable

        public 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.
      • createObject

        public java.lang.Object createObject​(java.lang.Class clazz,
                                             IDecodingContext context)
        Creates the object during decoding.
        Parameters:
        clazz - The class of the object.
        context - The decoding context.
        Returns:
        The created object.