Class NSPropertyListSerialization

  • All Implemented Interfaces:
    NSObject

    public class NSPropertyListSerialization
    extends NSObject
    • Constructor Detail

      • NSPropertyListSerialization

        protected NSPropertyListSerialization​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • dataFromPropertyListFormatErrorDescription

        @Nullable
        @Deprecated
        public static @Nullable NSData dataFromPropertyListFormatErrorDescription​(@NotNull
                                                                                  @NotNull java.lang.Object plist,
                                                                                  long format,
                                                                                  @Nullable
                                                                                  @Nullable org.moe.natj.general.ptr.Ptr<NSString> errorString)
        Deprecated.
        This method is deprecated. Use dataWithPropertyList:format:options:error: instead. API-Since: 2.0 Deprecated-Since: 8.0 Deprecated-Message: Use dataWithPropertyList:format:options:error: instead.
      • dataWithPropertyListFormatOptionsError

        @Nullable
        public static @Nullable NSData dataWithPropertyListFormatOptionsError​(@NotNull
                                                                              @NotNull java.lang.Object plist,
                                                                              long format,
                                                                              long opt,
                                                                              @Nullable
                                                                              @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Create an NSData from a property list. The format can be either NSPropertyListXMLFormat_v1_0 or NSPropertyListBinaryFormat_v1_0. The options parameter is currently unused and should be set to 0. If an error occurs the return value will be nil and the error parameter (if non-NULL) set to an autoreleased NSError describing the problem. API-Since: 4.0
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • propertyListIsValidForFormat

        public static boolean propertyListIsValidForFormat​(@NotNull
                                                           @NotNull java.lang.Object plist,
                                                           long format)
        Verify that a specified property list is valid for a given format. Returns YES if the property list is valid.
      • propertyListFromDataMutabilityOptionFormatErrorDescription

        @Nullable
        @Deprecated
        public static @Nullable java.lang.Object propertyListFromDataMutabilityOptionFormatErrorDescription​(@NotNull
                                                                                                            @NotNull NSData data,
                                                                                                            long opt,
                                                                                                            @Nullable
                                                                                                            @Nullable org.moe.natj.general.ptr.NUIntPtr format,
                                                                                                            @Nullable
                                                                                                            @Nullable org.moe.natj.general.ptr.Ptr<NSString> errorString)
        Deprecated.
        This method is deprecated. Use propertyListWithData:options:format:error: instead. API-Since: 2.0 Deprecated-Since: 8.0 Deprecated-Message: Use propertyListWithData:options:format:error: instead.
      • propertyListWithDataOptionsFormatError

        @Nullable
        public static @Nullable java.lang.Object propertyListWithDataOptionsFormatError​(@NotNull
                                                                                        @NotNull NSData data,
                                                                                        long opt,
                                                                                        @Nullable
                                                                                        @Nullable org.moe.natj.general.ptr.NUIntPtr format,
                                                                                        @Nullable
                                                                                        @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Create a property list from an NSData. The options can be any of NSPropertyListMutabilityOptions. If the format parameter is non-NULL, it will be filled out with the format that the property list was stored in. If an error occurs the return value will be nil and the error parameter (if non-NULL) set to an autoreleased NSError describing the problem. API-Since: 4.0
      • propertyListWithStreamOptionsFormatError

        @Nullable
        public static @Nullable java.lang.Object propertyListWithStreamOptionsFormatError​(@NotNull
                                                                                          @NotNull NSInputStream stream,
                                                                                          long opt,
                                                                                          @Nullable
                                                                                          @Nullable org.moe.natj.general.ptr.NUIntPtr format,
                                                                                          @Nullable
                                                                                          @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Create a property list by reading from an NSInputStream. The options can be any of NSPropertyListMutabilityOptions. If the format parameter is non-NULL, it will be filled out with the format that the property list was stored in. If an error occurs the return value will be nil and the error parameter (if non-NULL) set to an autoreleased NSError describing the problem. API-Since: 4.0
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • writePropertyListToStreamFormatOptionsError

        public static long writePropertyListToStreamFormatOptionsError​(@NotNull
                                                                       @NotNull java.lang.Object plist,
                                                                       @NotNull
                                                                       @NotNull NSOutputStream stream,
                                                                       long format,
                                                                       long opt,
                                                                       @Nullable
                                                                       @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Write a property list to an output stream. The stream should be opened and configured. The format can be either NSPropertyListXMLFormat_v1_0 or NSPropertyListBinaryFormat_v1_0. The options parameter is currently unused and should be set to 0. If an error occurs the return value will be 0 and the error parameter (if non-NULL) set to an autoreleased NSError describing the problem. In a successful case, the return value is the number of bytes written to the stream. API-Since: 4.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.