]> err.no Git - sope/blobdiff - sope-ical/versitSaxDriver/VSSaxDriver.h
improved input processing of sax driver
[sope] / sope-ical / versitSaxDriver / VSSaxDriver.h
index 7a1e078b416b39ca8d99e546194b322b971a283d..48ad72ec57f6a76a22d5b7ffd7fd7bcbf97f8a62 100644 (file)
@@ -1,6 +1,6 @@
 /*
  Copyright (C) 2003-2004 Max Berger
- Copyright (C) 2004 OpenGroupware.org
+ Copyright (C) 2004-2005 OpenGroupware.org
  
  This file is part of versitSaxDriver, written for the OpenGroupware.org 
  project (OGo).
 #ifndef __versitSaxDriver_VSSaxDriver_H__
 #define __versitSaxDriver_VSSaxDriver_H__
 
-#import <Foundation/Foundation.h>
-
+#import <Foundation/NSObject.h>
 #include <SaxObjC/SaxXMLReader.h>
 
+@class NSString, NSSet, NSDictionary, NSMutableArray, NSMutableDictionary;
+
 @interface VSSaxDriver : NSObject < SaxXMLReader > 
 {
   id<NSObject,SaxContentHandler> contentHandler;
+  id<NSObject,SaxErrorHandler>   errorHandler;
   NSString                       *prefixURI;
   NSMutableArray                 *cardStack;
   NSMutableArray                 *elementList;
   NSMutableDictionary            *subItemMapping;
 }
 
-- (NSSet *)attributeElements;
+- (void)setElementMapping:(NSDictionary *)_mapping;
 - (void)setAttributeElements:(NSSet *)_elements;
+- (NSSet *)attributeElements;
 
 - (NSDictionary *)elementMapping;
-- (void)setElementMapping:(NSDictionary *)_mapping;
 
-- (NSString *)prefixURI;
 - (void)setPrefixURI:(NSString*)_uri;
+- (NSString *)prefixURI;
 
 - (void)setAttributeMapping:(NSDictionary *)_mapping;
 - (void)setAttributeMapping:(NSDictionary *)_mapping