PageRenderTime 25ms CodeModel.GetById 13ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/JMRNumberMapping.m

http://rtm2cocoa.googlecode.com/
Objective C | 24 lines | 11 code | 6 blank | 7 comment | 0 complexity | ddee7d7cc9efee139fec28e8deaebb2f MD5 | raw file
 1//
 2//  JMRNumberMapping.m
 3
 4/*
 5
 6This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit http://creativecommons.org/licenses/by/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
 7
 8*/
 9
10#import "JMRNumberMapping.h"
11
12@implementation JMRNumberMapping
13
14-(JMRScalarMappingType *)defaultScalarType {
15    return [JMRNumberMappingType alloc];
16}
17
18+(id)mappingWithXmlPath:(NSString *)xmlPath objectPath:(NSString *)objectPath format:(NSString *)format {
19    return [[[JMRNumberMapping alloc] initWithXmlPath:xmlPath
20                                           objectPath:objectPath
21                                               format:format] autorelease];
22}
23
24@end