Class NSAttributedStringMarkdownParsingOptions

    • Constructor Detail

      • NSAttributedStringMarkdownParsingOptions

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allowsExtendedAttributes

        public boolean allowsExtendedAttributes()
        Whether to allow parsing extensions to Markdown that specify extended attributes. Defaults to NO (only parse CommonMark syntax).
      • 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()
      • copyWithZone

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

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

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

        public long failurePolicy()
        The policy to apply if the Markdown source triggers a parsing error. The default is NSAttributedStringMarkdownParsingFailureReturnError.
      • 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)
      • interpretedSyntax

        public long interpretedSyntax()
        What subset of Markdown syntax will be interpreted to produce relevant attributes in the final result. Excluded syntax will still be parsed, and the text will be included in the final result. However, it will not have attributes applied to it.
      • 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)
      • languageCode

        @Nullable
        public @Nullable java.lang.String languageCode()
        The BCP-47 language code for this document. If not nil, the NSLanguageAttributeName attribute will be applied to any range in the returned string that doesn't otherwise specify a language attribute. The default is nil, which applies no attributes.
      • resolveClassMethod

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

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

        public void setAllowsExtendedAttributes​(boolean value)
        Whether to allow parsing extensions to Markdown that specify extended attributes. Defaults to NO (only parse CommonMark syntax).
      • setFailurePolicy

        public void setFailurePolicy​(long value)
        The policy to apply if the Markdown source triggers a parsing error. The default is NSAttributedStringMarkdownParsingFailureReturnError.
      • setInterpretedSyntax

        public void setInterpretedSyntax​(long value)
        What subset of Markdown syntax will be interpreted to produce relevant attributes in the final result. Excluded syntax will still be parsed, and the text will be included in the final result. However, it will not have attributes applied to it.
      • setLanguageCode

        public void setLanguageCode​(@Nullable
                                    @Nullable java.lang.String value)
        The BCP-47 language code for this document. If not nil, the NSLanguageAttributeName attribute will be applied to any range in the returned string that doesn't otherwise specify a language attribute. The default is nil, which applies no attributes.
      • 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()
      • appliesSourcePositionAttributes

        public boolean appliesSourcePositionAttributes()
        API-Since: 16.0
      • setAppliesSourcePositionAttributes

        public void setAppliesSourcePositionAttributes​(boolean value)
        API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.