/*
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