Interface NSKeyedUnarchiverDelegate


  • public interface NSKeyedUnarchiverDelegate
    • Method Detail

      • unarchiverCannotDecodeObjectOfClassNameOriginalClasses

        @Nullable
        default @Nullable org.moe.natj.objc.Class unarchiverCannotDecodeObjectOfClassNameOriginalClasses​(@NotNull
                                                                                                         @NotNull NSKeyedUnarchiver unarchiver,
                                                                                                         @NotNull
                                                                                                         @NotNull java.lang.String name,
                                                                                                         @NotNull
                                                                                                         @NotNull NSArray<java.lang.String> classNames)
        error handling
      • unarchiverDidDecodeObject

        @Nullable
        default @Nullable java.lang.Object unarchiverDidDecodeObject​(@NotNull
                                                                     @NotNull NSKeyedUnarchiver unarchiver,
                                                                     @Nullable
                                                                     @Nullable java.lang.Object object)
        substitution
      • unarchiverWillReplaceObjectWithObject

        default void unarchiverWillReplaceObjectWithObject​(@NotNull
                                                           @NotNull NSKeyedUnarchiver unarchiver,
                                                           @NotNull
                                                           @NotNull java.lang.Object object,
                                                           @NotNull
                                                           @NotNull java.lang.Object newObject)
        notification
      • unarchiverDidFinish

        default void unarchiverDidFinish​(@NotNull
                                         @NotNull NSKeyedUnarchiver unarchiver)
        Notifies the delegate that decoding is about to finish.
      • unarchiverWillFinish

        default void unarchiverWillFinish​(@NotNull
                                          @NotNull NSKeyedUnarchiver unarchiver)
        Informs the delegate that the newObject is being substituted for the object. This is also called when the delegate itself is doing/has done the substitution. The delegate may use this method if it is keeping track of the encoded or decoded objects.