-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXMLRPCEventBasedParserDelegate.h
52 lines (35 loc) · 1.07 KB
/
XMLRPCEventBasedParserDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#import <Foundation/Foundation.h>
typedef enum {
XMLRPCElementTypeArray,
XMLRPCElementTypeDictionary,
XMLRPCElementTypeMember,
XMLRPCElementTypeName,
XMLRPCElementTypeInteger,
XMLRPCElementTypeDouble,
XMLRPCElementTypeBoolean,
XMLRPCElementTypeString,
XMLRPCElementTypeDate,
XMLRPCElementTypeData
} XMLRPCElementType;
#pragma mark -
@interface XMLRPCEventBasedParserDelegate : NSObject<NSXMLParserDelegate> {
XMLRPCEventBasedParserDelegate *myParent;
NSMutableArray *myChildren;
XMLRPCElementType myElementType;
NSString *myElementKey;
id myElementValue;
}
- (id)initWithParent: (XMLRPCEventBasedParserDelegate *)parent;
#pragma mark -
- (void)setParent: (XMLRPCEventBasedParserDelegate *)parent;
- (XMLRPCEventBasedParserDelegate *)parent;
#pragma mark -
- (void)setElementType: (XMLRPCElementType)elementType;
- (XMLRPCElementType)elementType;
#pragma mark -
- (void)setElementKey: (NSString *)elementKey;
- (NSString *)elementKey;
#pragma mark -
- (void)setElementValue: (id)elementValue;
- (id)elementValue;
@end