org.rococoa.cocoa.foundation
Class NSPropertyListSerialization._class_

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSClass
          extended by org.rococoa.cocoa.foundation.NSObject._class_
              extended by org.rococoa.cocoa.foundation.NSPropertyListSerialization._class_
All Implemented Interfaces:
NSObject, ObjCClass, ObjCObject
Enclosing class:
NSPropertyListSerialization

public abstract static class NSPropertyListSerialization._class_
extends NSObject._class_


Nested Class Summary
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.foundation.NSObject
NSObject._class_
 
Nested classes/interfaces inherited from interface org.rococoa.ObjCClass
ObjCClass._Class
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Field Summary
 
Fields inherited from interface org.rococoa.ObjCClass
CLASS
 
Constructor Summary
NSPropertyListSerialization._class_()
           
 
Method Summary
abstract  NSPropertyListSerialization alloc()
          Original signature : +(id)alloc
native declaration : NSObject.h:77
abstract  NSData dataFromPropertyList_format_errorDescription(ObjCObject plist, int format, PointerByReference errorString)
          This method is obsolete and will be deprecated soon.
abstract  NSData dataWithPropertyList_format_options_error(ObjCObject plist, int format, NSUInteger opt, PointerByReference error)
          Create an NSData from a property list.
abstract  NSPropertyListSerialization new_()
          Original signature : +(id)new
native declaration : NSObject.h:75
abstract  boolean propertyList_isValidForFormat(ObjCObject plist, int format)
          Verify that a specified property list is valid for a given format.
abstract  NSObject propertyListFromData_mutabilityOption_format_errorDescription(NSData data, int opt, IntBuffer format, PointerByReference errorString)
          This method is obsolete and will be deprecated soon.
abstract  NSObject propertyListFromData_mutabilityOption_format_errorDescription(NSData data, int opt, IntByReference format, PointerByReference errorString)
          Deprecated. use the safer methods propertyListFromData_mutabilityOption_format_errorDescription(org.rococoa.cocoa.foundation.NSData, int, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and propertyListFromData_mutabilityOption_format_errorDescription(org.rococoa.cocoa.foundation.NSData, int, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead
abstract  NSObject propertyListWithData_options_format_error(NSData data, NSUInteger opt, IntBuffer format, PointerByReference error)
          Create a property list from an NSData.
abstract  NSObject propertyListWithData_options_format_error(NSData data, NSUInteger opt, IntByReference format, PointerByReference error)
          Deprecated. use the safer methods propertyListWithData_options_format_error(org.rococoa.cocoa.foundation.NSData, org.rococoa.cocoa.foundation.NSUInteger, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and propertyListWithData_options_format_error(org.rococoa.cocoa.foundation.NSData, org.rococoa.cocoa.foundation.NSUInteger, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead
abstract  NSObject propertyListWithStream_options_format_error(NSInputStream stream, NSUInteger opt, IntBuffer format, PointerByReference error)
          Create a property list by reading from an NSInputStream.
abstract  NSObject propertyListWithStream_options_format_error(NSInputStream stream, NSUInteger opt, IntByReference format, PointerByReference error)
          Deprecated. use the safer methods propertyListWithStream_options_format_error(org.rococoa.cocoa.foundation.NSInputStream, org.rococoa.cocoa.foundation.NSUInteger, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and propertyListWithStream_options_format_error(org.rococoa.cocoa.foundation.NSInputStream, org.rococoa.cocoa.foundation.NSUInteger, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead
abstract  NSInteger writePropertyList_toStream_format_options_error(ObjCObject plist, NSOutputStream stream, int format, NSUInteger opt, PointerByReference error)
          Write a property list to an output stream.
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject._class_
allocWithZone, asStatic_NSObject_NSAccessibility, asStatic_NSObject_NSAccessibilityAdditions, asStatic_NSObject_NSApplicationScriptingDelegation, asStatic_NSObject_NSArchiverCallback, asStatic_NSObject_NSClassDescriptionPrimitives, asStatic_NSObject_NSCoderMethods, asStatic_NSObject_NSColorPanelResponderMethod, asStatic_NSObject_NSComparisonMethods, asStatic_NSObject_NSControlSubclassNotifications, asStatic_NSObject_NSCopyLinkMoveHandler, asStatic_NSObject_NSDelayedPerforming, asStatic_NSObject_NSDeprecatedKeyValueCoding, asStatic_NSObject_NSDeprecatedKeyValueObservingCustomization, asStatic_NSObject_NSDeprecatedMethods, asStatic_NSObject_NSDictionaryControllerKeyValuePair, asStatic_NSObject_NSDistributedObjects, asStatic_NSObject_NSDraggingDestination, asStatic_NSObject_NSDraggingSource, asStatic_NSObject_NSDraggingSourceDeprecated, asStatic_NSObject_NSEditor, asStatic_NSObject_NSEditorRegistration, asStatic_NSObject_NSErrorRecoveryAttempting, asStatic_NSObject_NSFileManagerFileOperationAdditions, asStatic_NSObject_NSFontManagerDelegate, asStatic_NSObject_NSFontManagerResponderMethod, asStatic_NSObject_NSFontPanelValidationAdditions, asStatic_NSObject_NSKeyValueBindingCreation, asStatic_NSObject_NSKeyValueCoding, asStatic_NSObject_NSKeyValueObserverNotification, asStatic_NSObject_NSKeyValueObserverRegistration, asStatic_NSObject_NSKeyValueObserving, asStatic_NSObject_NSKeyValueObservingCustomization, asStatic_NSObject_NSMenuValidation, asStatic_NSObject_NSNibAwaking, asStatic_NSObject_NSPasteboardOwner, asStatic_NSObject_NSPlaceholders, asStatic_NSObject_NSScriptClassDescription, asStatic_NSObject_NSScripting, asStatic_NSObject_NSScriptingComparisonMethods, asStatic_NSObject_NSScriptKeyValueCoding, asStatic_NSObject_NSScriptObjectSpecifiers, asStatic_NSObject_NSThreadPerformAdditions, asStatic_NSObject_NSURLClient, asStatic_NSObject_NSURLConnectionDelegate, asStatic_NSObject_NSURLDownloadDelegate, class_, conformsToProtocol, copyWithZone, initialize, instanceMethodForSelector, instanceMethodSignatureForSelector, instancesRespondToSelector, isSubclassOfClass, load, mutableCopyWithZone, resolveClassMethod, resolveInstanceMethod, superclass
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, getNSClass, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, zone
 

Constructor Detail

NSPropertyListSerialization._class_

public NSPropertyListSerialization._class_()
Method Detail

propertyList_isValidForFormat

public abstract boolean propertyList_isValidForFormat(ObjCObject plist,
                                                      int format)
Verify that a specified property list is valid for a given format. Returns YES if the property list is valid.
Original signature : +(BOOL)propertyList:(id) isValidForFormat:(NSPropertyListFormat)
native declaration : NSPropertyList.h:36

Parameters:
format - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListFormat

dataWithPropertyList_format_options_error

public abstract NSData dataWithPropertyList_format_options_error(ObjCObject plist,
                                                                 int format,
                                                                 NSUInteger opt,
                                                                 PointerByReference 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.
Original signature : +(NSData*)dataWithPropertyList:(id) format:(NSPropertyListFormat) options:(NSPropertyListWriteOptions) error:(NSError**)
native declaration : NSPropertyList.h:40

Parameters:
format - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListFormat

writePropertyList_toStream_format_options_error

public abstract NSInteger writePropertyList_toStream_format_options_error(ObjCObject plist,
                                                                          NSOutputStream stream,
                                                                          int format,
                                                                          NSUInteger opt,
                                                                          PointerByReference 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.
Original signature : +(NSInteger)writePropertyList:(id) toStream:(NSOutputStream*) format:(NSPropertyListFormat) options:(NSPropertyListWriteOptions) error:(NSError**)
native declaration : NSPropertyList.h:44

Parameters:
format - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListFormat

propertyListWithData_options_format_error

@Deprecated
public abstract NSObject propertyListWithData_options_format_error(NSData data,
                                                                              NSUInteger opt,
                                                                              IntByReference format,
                                                                              PointerByReference error)
Deprecated. use the safer methods propertyListWithData_options_format_error(org.rococoa.cocoa.foundation.NSData, org.rococoa.cocoa.foundation.NSUInteger, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and propertyListWithData_options_format_error(org.rococoa.cocoa.foundation.NSData, org.rococoa.cocoa.foundation.NSUInteger, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead

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.
Original signature : +(id)propertyListWithData:(NSData*) options:(NSPropertyListReadOptions) format:(NSPropertyListFormat*) error:(NSError**)
native declaration : NSPropertyList.h:48

Parameters:
format - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListFormat

propertyListWithData_options_format_error

public abstract NSObject propertyListWithData_options_format_error(NSData data,
                                                                   NSUInteger opt,
                                                                   IntBuffer format,
                                                                   PointerByReference 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.
Original signature : +(id)propertyListWithData:(NSData*) options:(NSPropertyListReadOptions) format:(NSPropertyListFormat*) error:(NSError**)
native declaration : NSPropertyList.h:48


propertyListWithStream_options_format_error

@Deprecated
public abstract NSObject propertyListWithStream_options_format_error(NSInputStream stream,
                                                                                NSUInteger opt,
                                                                                IntByReference format,
                                                                                PointerByReference error)
Deprecated. use the safer methods propertyListWithStream_options_format_error(org.rococoa.cocoa.foundation.NSInputStream, org.rococoa.cocoa.foundation.NSUInteger, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and propertyListWithStream_options_format_error(org.rococoa.cocoa.foundation.NSInputStream, org.rococoa.cocoa.foundation.NSUInteger, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead

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.
Original signature : +(id)propertyListWithStream:(NSInputStream*) options:(NSPropertyListReadOptions) format:(NSPropertyListFormat*) error:(NSError**)
native declaration : NSPropertyList.h:52

Parameters:
format - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListFormat

propertyListWithStream_options_format_error

public abstract NSObject propertyListWithStream_options_format_error(NSInputStream stream,
                                                                     NSUInteger opt,
                                                                     IntBuffer format,
                                                                     PointerByReference 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.
Original signature : +(id)propertyListWithStream:(NSInputStream*) options:(NSPropertyListReadOptions) format:(NSPropertyListFormat*) error:(NSError**)
native declaration : NSPropertyList.h:52


dataFromPropertyList_format_errorDescription

public abstract NSData dataFromPropertyList_format_errorDescription(ObjCObject plist,
                                                                    int format,
                                                                    PointerByReference errorString)
This method is obsolete and will be deprecated soon. Use dataWithPropertyList:format:options:error: instead.
Original signature : +(NSData*)dataFromPropertyList:(id) format:(NSPropertyListFormat) errorDescription:(NSString**)
native declaration : NSPropertyList.h:57

Parameters:
format - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListFormat

propertyListFromData_mutabilityOption_format_errorDescription

@Deprecated
public abstract NSObject propertyListFromData_mutabilityOption_format_errorDescription(NSData data,
                                                                                                  int opt,
                                                                                                  IntByReference format,
                                                                                                  PointerByReference errorString)
Deprecated. use the safer methods propertyListFromData_mutabilityOption_format_errorDescription(org.rococoa.cocoa.foundation.NSData, int, java.nio.IntBuffer, com.sun.jna.ptr.PointerByReference) and propertyListFromData_mutabilityOption_format_errorDescription(org.rococoa.cocoa.foundation.NSData, int, com.sun.jna.ptr.IntByReference, com.sun.jna.ptr.PointerByReference) instead

This method is obsolete and will be deprecated soon. Use propertyListWithData:options:format:error: instead.
Original signature : +(id)propertyListFromData:(NSData*) mutabilityOption:(NSPropertyListMutabilityOptions) format:(NSPropertyListFormat*) errorDescription:(NSString**)
native declaration : NSPropertyList.h:61

Parameters:
opt - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListMutabilityOptions
format - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListFormat

propertyListFromData_mutabilityOption_format_errorDescription

public abstract NSObject propertyListFromData_mutabilityOption_format_errorDescription(NSData data,
                                                                                       int opt,
                                                                                       IntBuffer format,
                                                                                       PointerByReference errorString)
This method is obsolete and will be deprecated soon. Use propertyListWithData:options:format:error: instead.
Original signature : +(id)propertyListFromData:(NSData*) mutabilityOption:(NSPropertyListMutabilityOptions) format:(NSPropertyListFormat*) errorDescription:(NSString**)
native declaration : NSPropertyList.h:61

Parameters:
opt - @see org.rococoa.cocoa.foundation.FoundationLibrary#NSPropertyListMutabilityOptions

alloc

public abstract NSPropertyListSerialization alloc()
Description copied from class: NSObject._class_
Original signature : +(id)alloc
native declaration : NSObject.h:77

Specified by:
alloc in class NSObject._class_

new_

public abstract NSPropertyListSerialization new_()
Description copied from class: NSObject._class_
Original signature : +(id)new
native declaration : NSObject.h:75

Specified by:
new_ in class NSObject._class_


Copyright © 2009. All Rights Reserved.