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()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

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

        public static NSData dataWithPropertyListFormatOptionsError​(java.lang.Object plist,
                                                                    long format,
                                                                    long opt,
                                                                    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.
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • propertyListIsValidForFormat

        public static boolean propertyListIsValidForFormat​(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

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

        public static java.lang.Object propertyListWithDataOptionsFormatError​(NSData data,
                                                                              long opt,
                                                                              org.moe.natj.general.ptr.NUIntPtr format,
                                                                              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.
      • propertyListWithStreamOptionsFormatError

        public static java.lang.Object propertyListWithStreamOptionsFormatError​(NSInputStream stream,
                                                                                long opt,
                                                                                org.moe.natj.general.ptr.NUIntPtr format,
                                                                                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.
      • 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​(java.lang.Object plist,
                                                                       NSOutputStream stream,
                                                                       long format,
                                                                       long opt,
                                                                       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.