ObjectiveC SDK  2.0
IpLocationDataFactory.h
Go to the documentation of this file.
00001 //
00002 //  IpLocationDataFactory.h
00003 //  ipLocation
00004 
00005 /*
00006  * This file is part of the Telekom Objective C SDK
00007  * Copyright 2011 Deutsche Telekom AG
00008  *
00009  * Licensed under the Apache License, Version 2.0 (the "License");
00010  * you may not use this file except in compliance with the License.
00011  * You may obtain a copy of the License at
00012  *
00013  *     http://www.apache.org/licenses/LICENSE-2.0
00014  *
00015  * Unless required by applicable law or agreed to in writing, software
00016  * distributed under the License is distributed on an "AS IS" BASIS,
00017  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00018  * See the License for the specific language governing permissions and
00019  * limitations under the License.
00020  */
00021 
00023 
00027 #import <Foundation/Foundation.h>
00028 #import "LocateIpResponse.h"
00029 #import "LocateIpResultsIsInRegionResponse.h"
00030 #import "IpLocationStatusDescriptions.h"
00031 #import "IpLocationStatusConstants.h"
00032 #import "IpLocationClient.h"
00033 #import "LocateIpResultsResponse.h"
00034 
00035 @interface IpLocationDataFactory : NSObject
00036 {
00037     // status attributes
00038     NSString* status;
00039     NSString* statusCode;
00040     NSString* statusMessage;
00041 }
00042 
00043 
00050 - (LocateIpResponse*) createLocateIpResponse:(NSDictionary*) statuses;
00051 
00052 
00058 - (LocateIpResultsResponse*) createLocateIpResultsResponse:(NSDictionary*) results;
00059 
00060 
00066 - (LocateIpResultsIsInRegionResponse*) createLocateIpResultsIsInRegionResponse:(NSDictionary*) results;
00067 
00068 
00075 - (NSString*) description:(int)statusConstant withLanguage:(NSString *)language;
00076 
00077 
00083 - (int) statusConstant:(NSString *)statusCode;
00084 
00085 @end
 All Classes Files Functions Variables Properties