Class NSTextCheckingResult

    • Constructor Detail

      • NSTextCheckingResult

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • addressCheckingResultWithRangeComponents

        public static NSTextCheckingResult addressCheckingResultWithRangeComponents​(NSRange range,
                                                                                    NSDictionary<java.lang.String,​java.lang.String> components)
      • 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()
      • correctionCheckingResultWithRangeReplacementString

        public static NSTextCheckingResult correctionCheckingResultWithRangeReplacementString​(NSRange range,
                                                                                              java.lang.String replacementString)
      • correctionCheckingResultWithRangeReplacementStringAlternativeStrings

        public static NSTextCheckingResult correctionCheckingResultWithRangeReplacementStringAlternativeStrings​(NSRange range,
                                                                                                                java.lang.String replacementString,
                                                                                                                NSArray<java.lang.String> alternativeStrings)
      • dashCheckingResultWithRangeReplacementString

        public static NSTextCheckingResult dashCheckingResultWithRangeReplacementString​(NSRange range,
                                                                                        java.lang.String replacementString)
      • 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()
      • orthographyCheckingResultWithRangeOrthography

        public static NSTextCheckingResult orthographyCheckingResultWithRangeOrthography​(NSRange range,
                                                                                         NSOrthography orthography)
        Methods for creating instances of the various types of results.
      • phoneNumberCheckingResultWithRangePhoneNumber

        public static NSTextCheckingResult phoneNumberCheckingResultWithRangePhoneNumber​(NSRange range,
                                                                                         java.lang.String phoneNumber)
      • quoteCheckingResultWithRangeReplacementString

        public static NSTextCheckingResult quoteCheckingResultWithRangeReplacementString​(NSRange range,
                                                                                         java.lang.String replacementString)
      • regularExpressionCheckingResultWithRangesCountRegularExpression

        public static NSTextCheckingResult regularExpressionCheckingResultWithRangesCountRegularExpression​(org.moe.natj.general.ptr.Ptr<NSRange> ranges,
                                                                                                           long count,
                                                                                                           NSRegularExpression regularExpression)
      • replacementCheckingResultWithRangeReplacementString

        public static NSTextCheckingResult replacementCheckingResultWithRangeReplacementString​(NSRange range,
                                                                                               java.lang.String replacementString)
      • 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()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • transitInformationCheckingResultWithRangeComponents

        public static NSTextCheckingResult transitInformationCheckingResultWithRangeComponents​(NSRange range,
                                                                                               NSDictionary<java.lang.String,​java.lang.String> components)
      • version_static

        public static long version_static()
      • URL

        public NSURL URL()
      • addressComponents

        public NSDictionary<java.lang.String,​java.lang.String> addressComponents()
        Deprecated in favor of components
      • alternativeStrings

        public NSArray<java.lang.String> alternativeStrings()
      • components

        public NSDictionary<java.lang.String,​java.lang.String> components()
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • duration

        public double duration()
      • grammarDetails

        public NSArray<? extends NSDictionary<java.lang.String,​?>> grammarDetails()
      • numberOfRanges

        public long numberOfRanges()
        A result must have at least one range, but may optionally have more (for example, to represent regular expression capture groups). The range at index 0 always matches the range property. Additional ranges, if any, will have indexes from 1 to numberOfRanges-1. rangeWithName: can be used with named regular expression capture groups.
      • orthography

        public NSOrthography orthography()
        Optional properties, used with certain types of results.
      • phoneNumber

        public java.lang.String phoneNumber()
      • rangeAtIndex

        public NSRange rangeAtIndex​(long idx)
      • replacementString

        public java.lang.String replacementString()
      • resultByAdjustingRangesWithOffset

        public NSTextCheckingResult resultByAdjustingRangesWithOffset​(long offset)
      • resultType

        public long resultType()
        Mandatory properties, used with all types of results.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • rangeWithName

        public NSRange rangeWithName​(java.lang.String name)