Skip to content

Commit

Permalink
added + (id)elementFromXMLFilePath:(NSString *)fullPath
Browse files Browse the repository at this point in the history
  • Loading branch information
ksslng committed May 26, 2013
1 parent 5a72fa1 commit c5b91ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions RaptureXML/RXMLElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
+ (id)elementFromXMLString:(NSString *)xmlString encoding:(NSStringEncoding)encoding;
+ (id)elementFromXMLFile:(NSString *)filename;
+ (id)elementFromXMLFilename:(NSString *)filename fileExtension:(NSString *)extension;
+ (id)elementFromXMLFilePath:(NSString *)fullPath;
+ (id)elementFromURL:(NSURL *)url __attribute__((deprecated));
+ (id)elementFromXMLData:(NSData *)data;
+ (id)elementFromXMLDoc:(RXMLDocHolder *)doc node:(xmlNodePtr)node;
Expand Down
4 changes: 4 additions & 0 deletions RaptureXML/RXMLElement.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ + (id)elementFromXMLString:(NSString *)attributeXML_ encoding:(NSStringEncoding)
return [[RXMLElement alloc] initFromXMLString:attributeXML_ encoding:encoding];
}

+ (id)elementFromXMLFilePath:(NSString *)fullPath {
return [[RXMLElement alloc] initFromXMLFilePath:fullPath];
}

+ (id)elementFromXMLFile:(NSString *)filename {
return [[RXMLElement alloc] initFromXMLFile:filename];
}
Expand Down

0 comments on commit c5b91ae

Please sign in to comment.