OSDN Git Service

The first working revision.
[dirac/master.git] / Dirac / DiracStatusXMLParser.h
1 //
2 //  DiracStatusXMLParser.h
3 //  Dirac
4 //
5 //  Created by Ichi Kanaya on 11/04/21.
6 //  Copyright 2011 大阪大学. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10
11 @interface DiracStatusXMLParser: NSObject <NSXMLParserDelegate> {
12     NSMutableString *currentXpath;
13     NSMutableArray *statuses;
14     NSMutableDictionary *currentStatus;
15     NSMutableString *textNodeCharacters;
16 }
17
18 @property (retain, nonatomic) NSMutableString *currentXpath;
19 @property (retain, nonatomic) NSMutableArray *statuses;
20 @property (retain, nonatomic) NSMutableDictionary *currentStatus;
21 @property (retain, nonatomic) NSMutableString *textNodeCharacters;
22
23 - (NSArray *)parseStatuses: (NSData *)xmlData;
24
25 @end