CatNiP prefinal
Sähköinen nuottikirja, HY-TKTKL-OHTUPROJ KESÄ11
/Users/awniemel/Notepad-SVN/svn/trunk/CatNiP/CatNiP/MediaWikiCategoryQuery.h
Go to the documentation of this file.
00001 //
00002 //  MediaWikiCategoryQuery.h
00003 //  WebConnectionProto
00004 //
00005 //  Created by Antti V J Niemela, tkol on 5/24/11.
00006 //  Copyright 2011 University of Helsinki. All rights reserved.
00007 //
00008 
00009 #import <Foundation/Foundation.h>
00010 #import "MediaWikiQuery.h"
00011 #import "MediaWikiCategoryQueryDelegate.h"
00012 #import "MediaWikiQueryDelegate.h"
00013 
00014 
00015 @interface MediaWikiCategoryQuery : MediaWikiQuery <MediaWikiQueryDelegate,NSXMLParserDelegate>{
00016     NSMutableDictionary* parameters;
00017         
00018 }
00019 +(MediaWikiCategoryQuery*)newCategoryQuery:(NSString*)URL delegate:(id <MediaWikiCategoryQueryDelegate>)qDelegate;
00020 -(void)parseCategoryXML:(NSData*)XMLData;
00021 -(void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict;
00022 -(void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError;
00023 -(void)parser:(NSXMLParser *)parser validationErrorOccurred:(NSError *)validationError;
00024 -(void)parserDidEndDocument:(NSXMLParser *)parser;
00025 -(void)parserDidStartDocument:(NSXMLParser *)parser;
00026 
00028 @property (copy) NSString* wikiAction;
00030 @property (copy) NSString* wikiQueryType; // prop, list, meta
00032 @property (copy) NSString* wikiQuery; 
00034 @property (copy) NSArray* wikiQueryTitles;
00036 @property (copy) NSArray* wikiQueryPageIds;
00038 @property (retain) id<MediaWikiCategoryQueryDelegate> categoryDelegate;
00040 @property (copy) NSString* continueFrom;
00042 @property (retain) NSMutableDictionary* parameters;
00044 @property (copy) NSString* returnFormat;
00046 @property (copy) NSString* categoryName;
00048 @property (copy) NSString* chunkSize;
00049 
00050 @end
00051 
00052 @interface MediaWikiCategoryQuery (Private) 
00053     
00054 -(NSString*)_buildGetParams;
00055 @end
00056 
 All Classes Files Functions Variables Enumerations Enumerator Properties Defines