Files
RestKit/Code/Support/Parsers/RKXMLParserLibXML.h
Blake Watters f3c0995d5e Implementation of Object Mapping 2.0 design:
* 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
2011-06-11 19:26:56 -04:00

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