org.rococoa.cocoa.foundation
Class NSPredicate

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.foundation.NSPredicate
All Implemented Interfaces:
NSCoding, NSCopying, NSObject, ObjCObject
Direct Known Subclasses:
NSComparisonPredicate, NSCompoundPredicate

public abstract class NSPredicate
extends NSObject
implements ObjCObject, NSCoding, NSCopying

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSPredicate._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
NSCopying._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSPredicate()
           
 
Method Summary
static NSPredicate alloc()
           
abstract  boolean evaluateWithObject_substitutionVariables(ObjCObject object, NSDictionary bindings)
          single pass evaluation substituting variables from the bindings dictionary for any variable expressions encountered
Original signature : -(BOOL)evaluateWithObject:(id) substitutionVariables:(NSDictionary*)
native declaration : NSPredicate.h:36
abstract  boolean evaluateWithObject(ObjCObject object)
          evaluate a predicate against a single object
Original signature : -(BOOL)evaluateWithObject:(id)
native declaration : NSPredicate.h:33
static NSPredicate._class_ getNSClass()
           
static NSPredicate new_()
           
abstract  NSString predicateFormat()
          returns the format string of the predicate
Original signature : -(NSString*)predicateFormat
native declaration : NSPredicate.h:29
static NSPredicate predicateWithFormat_argumentArray(NSString predicateFormat, NSArray arguments)
          Parse predicateFormat and return an appropriate predicate
Original signature : +(NSPredicate*)predicateWithFormat:(NSString*) argumentArray:(NSArray*)
native declaration : NSPredicate.h:19
static NSPredicate predicateWithFormat(NSString predicateFormat, NSObject... varargs)
          Original signature : +(NSPredicate*)predicateWithFormat:(NSString*), ...
abstract  NSPredicate predicateWithSubstitutionVariables(NSDictionary variables)
          substitute constant values for variables
Original signature : -(NSPredicate*)predicateWithSubstitutionVariables:(NSDictionary*)
native declaration : NSPredicate.h:31
static NSPredicate predicateWithValue(boolean value)
          return predicates that always evaluate to true/false
Original signature : +(NSPredicate*)predicateWithValue:(BOOL)
native declaration : NSPredicate.h:23
 
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, 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.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCopying
copyWithZone
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSPredicate

public NSPredicate()
Method Detail

predicateWithFormat_argumentArray

public static NSPredicate predicateWithFormat_argumentArray(NSString predicateFormat,
                                                            NSArray arguments)
Parse predicateFormat and return an appropriate predicate
Original signature : +(NSPredicate*)predicateWithFormat:(NSString*) argumentArray:(NSArray*)
native declaration : NSPredicate.h:19


predicateWithFormat

public static NSPredicate predicateWithFormat(NSString predicateFormat,
                                              NSObject... varargs)
Original signature : +(NSPredicate*)predicateWithFormat:(NSString*), ...
native declaration : NSPredicate.h:20


predicateWithValue

public static NSPredicate predicateWithValue(boolean value)
return predicates that always evaluate to true/false
Original signature : +(NSPredicate*)predicateWithValue:(BOOL)
native declaration : NSPredicate.h:23


predicateFormat

public abstract NSString predicateFormat()
returns the format string of the predicate
Original signature : -(NSString*)predicateFormat
native declaration : NSPredicate.h:29


predicateWithSubstitutionVariables

public abstract NSPredicate predicateWithSubstitutionVariables(NSDictionary variables)
substitute constant values for variables
Original signature : -(NSPredicate*)predicateWithSubstitutionVariables:(NSDictionary*)
native declaration : NSPredicate.h:31


evaluateWithObject

public abstract boolean evaluateWithObject(ObjCObject object)
evaluate a predicate against a single object
Original signature : -(BOOL)evaluateWithObject:(id)
native declaration : NSPredicate.h:33


evaluateWithObject_substitutionVariables

public abstract boolean evaluateWithObject_substitutionVariables(ObjCObject object,
                                                                 NSDictionary bindings)
single pass evaluation substituting variables from the bindings dictionary for any variable expressions encountered
Original signature : -(BOOL)evaluateWithObject:(id) substitutionVariables:(NSDictionary*)
native declaration : NSPredicate.h:36


alloc

public static NSPredicate alloc()

new_

public static NSPredicate new_()

getNSClass

public static NSPredicate._class_ getNSClass()


Copyright © 2009. All Rights Reserved.