mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-19 13:09:19 +08:00
* Removed RestKit from inheritance hierarchy * Mappings are implemented as concrete classes * Mapper is much more flexible & powerful * Much more robust error handling * Serialization is reimplemented as an object mapping operation * Added ability to serialize to JSON natively * Reworked Core Data integration * Simplified the codebase substantially
23 lines
611 B
Objective-C
23 lines
611 B
Objective-C
//
|
|
// RKXMLParser.h
|
|
//
|
|
// Created by Jeremy Ellison on 2011-02-28.
|
|
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "RKParser.h"
|
|
|
|
/**
|
|
This is a dead simple XML parser that uses libxml2 to parse an XML document
|
|
into a dictionary. It is designed specifically for use with RestKit. It
|
|
does not support any fanciness like Namespaces, DTDs, or other nonsense.
|
|
It does not save attributes on tags, it only cares about nested content and text.
|
|
*/
|
|
@interface RKXMLParserLibXML : NSObject <RKParser> {
|
|
}
|
|
|
|
- (NSDictionary*)parseXML:(NSString*)XML;
|
|
|
|
@end
|