Package apple.foundation.protocol
Interface NSKeyedUnarchiverDelegate
-
public interface NSKeyedUnarchiverDelegate
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable org.moe.natj.objc.ClassunarchiverCannotDecodeObjectOfClassNameOriginalClasses(@NotNull NSKeyedUnarchiver unarchiver, @NotNull java.lang.String name, @NotNull NSArray<java.lang.String> classNames)error handlingdefault @Nullable java.lang.ObjectunarchiverDidDecodeObject(@NotNull NSKeyedUnarchiver unarchiver, @Nullable java.lang.Object object)substitutiondefault voidunarchiverDidFinish(@NotNull NSKeyedUnarchiver unarchiver)Notifies the delegate that decoding is about to finish.default voidunarchiverWillFinish(@NotNull NSKeyedUnarchiver unarchiver)Informs the delegate that the newObject is being substituted for the object.default voidunarchiverWillReplaceObjectWithObject(@NotNull NSKeyedUnarchiver unarchiver, @NotNull java.lang.Object object, @NotNull java.lang.Object newObject)notification
-
-
-
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.
-
-