1234567891011121314151617181920212223242526272829303132333435363738 |
- #import <Foundation/Foundation.h>
- @class SVGSVGElement, SVGDocument;
- #import "SVGSVGElement.h"
- #import "SVGDocument.h"
- @protocol SVGKParserExtension;
- #import "SVGKParserExtension.h"
- @interface SVGKParseResult : NSObject
- @property(nonatomic, strong) NSMutableArray* warnings, * errorsRecoverable, * errorsFatal;
- @property(nonatomic) BOOL libXMLFailed;
- @property(nonatomic) double parseProgressFractionApproximate;
- @property(nonatomic,strong) SVGSVGElement* rootOfSVGTree;
- @property(nonatomic,strong) SVGDocument* parsedDocument;
- @property(nonatomic,strong) NSMutableDictionary* namespacesEncountered;
- -(void) addSourceError:(NSError*) fatalError;
- -(void) addParseWarning:(NSError*) warning;
- -(void) addParseErrorRecoverable:(NSError*) recoverableError;
- -(void) addParseErrorFatal:(NSError*) fatalError;
- -(void) addSAXError:(NSError*) saxError;
- #if ENABLE_PARSER_EXTENSIONS_CUSTOM_DATA
- @property(nonatomic,retain) NSMutableDictionary* extensionsData;
- -(NSMutableDictionary*) dictionaryForParserExtension:(NSObject<SVGKParserExtension>*) extension;
- #endif
- @end
|