Class NSXMLParser

  • All Implemented Interfaces:
    NSObject

    public class NSXMLParser
    extends NSObject
    • Constructor Detail

      • NSXMLParser

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NSXMLParser allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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()
      • abortParsing

        public void abortParsing()
        called by the delegate to stop the parse. The delegate will get an error message sent to it.
      • allowedExternalEntityURLs

        @Nullable
        public @Nullable NSSet<? extends NSURL> allowedExternalEntityURLs()
        API-Since: 8.0
      • columnNumber

        public long columnNumber()
      • delegate

        @Nullable
        public @Nullable NSXMLParserDelegate delegate()
        delegate management. The delegate is not retained.
      • externalEntityResolvingPolicy

        public long externalEntityResolvingPolicy()
        defaults to NSXMLNodeLoadExternalEntitiesNever API-Since: 8.0
      • initWithContentsOfURL

        public NSXMLParser initWithContentsOfURL​(@NotNull
                                                 @NotNull NSURL url)
        initializes the parser with the specified URL.
      • initWithData

        public NSXMLParser initWithData​(@NotNull
                                        @NotNull NSData data)
        create the parser from data
      • initWithStream

        public NSXMLParser initWithStream​(@NotNull
                                          @NotNull NSInputStream stream)
        create a parser that incrementally pulls data from the specified stream and parses it. API-Since: 5.0
      • lineNumber

        public long lineNumber()
      • parse

        public boolean parse()
        called to start the event-driven parse. Returns YES in the event of a successful parse, and NO in case of error.
      • parserError

        @Nullable
        public @Nullable NSError parserError()
        can be called after a parse is over to determine parser state.
      • publicID

        @Nullable
        public @Nullable java.lang.String publicID()
      • setAllowedExternalEntityURLs

        public void setAllowedExternalEntityURLs​(@Nullable
                                                 @Nullable NSSet<? extends NSURL> value)
        API-Since: 8.0
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable NSXMLParserDelegate value)
        delegate management. The delegate is not retained.
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable NSXMLParserDelegate value)
        delegate management. The delegate is not retained.
      • setExternalEntityResolvingPolicy

        public void setExternalEntityResolvingPolicy​(long value)
        defaults to NSXMLNodeLoadExternalEntitiesNever API-Since: 8.0
      • setShouldProcessNamespaces

        public void setShouldProcessNamespaces​(boolean value)
      • setShouldReportNamespacePrefixes

        public void setShouldReportNamespacePrefixes​(boolean value)
      • setShouldResolveExternalEntities

        public void setShouldResolveExternalEntities​(boolean value)
        Toggles between disabling external entities entirely, and the current setting of the 'externalEntityResolvingPolicy'. The 'externalEntityResolvingPolicy' property should be used instead of this, unless targeting 10.9/7.0 or earlier
      • shouldProcessNamespaces

        public boolean shouldProcessNamespaces()
      • shouldReportNamespacePrefixes

        public boolean shouldReportNamespacePrefixes()
      • shouldResolveExternalEntities

        public boolean shouldResolveExternalEntities()
        Toggles between disabling external entities entirely, and the current setting of the 'externalEntityResolvingPolicy'. The 'externalEntityResolvingPolicy' property should be used instead of this, unless targeting 10.9/7.0 or earlier
      • systemID

        @Nullable
        public @Nullable java.lang.String systemID()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.