Package jadex.binary

Class LocalDateTimeCodec

    • Field Detail

      • CHRONOLOCALDATECLASS

        public static final java.lang.Class<?> CHRONOLOCALDATECLASS
        LocalDate super interface
      • LOCALTIMECLASS

        public static final java.lang.Class<?> LOCALTIMECLASS
        Local time class
      • CHRONOLOCALDATETIMECLASS

        public static final java.lang.Class<?> CHRONOLOCALDATETIMECLASS
        LocalDateTime super interface
    • Constructor Detail

      • LocalDateTimeCodec

        public LocalDateTimeCodec()
    • Method Detail

      • createObject

        public java.lang.Object createObject​(java.lang.Class<?> clazz,
                                             IDecodingContext context)
        Creates the object during decoding.
        Specified by:
        createObject in class AbstractCodec
        Parameters:
        clazz - The class of the object.
        context - The decoding context.
        Returns:
        The created object.
      • isApplicable

        public boolean isApplicable​(java.lang.Class<?> clazz)
        Tests if the decoder can decode the class.
        Specified by:
        isApplicable in interface IDecoderHandler
        Specified by:
        isApplicable in class AbstractCodec
        Parameters:
        clazz - The class.
        Returns:
        True, if the decoder can decode this class.
      • canReference

        public boolean canReference​(java.lang.Object object,
                                    java.lang.Class<?> clazz,
                                    IEncodingContext ec)
        Test if the codec allows referencing.
        Overrides:
        canReference in class AbstractCodec
        Parameters:
        object - The object.
        clazz - The class.
        ec - The encoding context.
        Returns:
        True, if the codec allows referencing.