SAP ABAP Class CL_VBI_GEOCODER (Abstract Geo-Coder Base Class and Factory)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2-VBZ (Application Component) Visual Business -> please use CA-GTF-VBZ
     VBI_GEOMAP_CORE (Package) Visual Business GeoMap Core objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_VBI_GEOCODING_SERVICE Geo Coding Interface 20121130
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_VBI_GEOCODING_NAVTEQ Geo Coding service impl for NavTeq service 20121203
2 Inheritance (c INHERITING FROM c_ref)  CL_VBI_GEOCODING_OSM Geo Coding service impl for OSM service 20130513
3 Inheritance (c INHERITING FROM c_ref)  CL_VBI_GEOCODING_TEST Geo Coding service impl for OSM service 20130710
Properties
Class CL_VBI_GEOCODER  
Short Description Abstract Geo-Coder Base Class and Factory    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package VBI_GEOMAP_CORE   Visual Business GeoMap Core objects 
Created 20121130   SAP 
Last change 20131127   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_VBI_CUSTOMIZING_ACCESS Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_VBI_GEOCODING_SERVICE Geo Coding Interface 20121130
Friends
Class CL_VBI_GEOCODER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_SERV_TYPE_ADDRESS_SEARCH Constant Public Type reference (TYPE) VBI_GC_SERVICE_TYPE 'A' Geo Coding Service Type 20121130
2 CO_SERV_TYPE_CALC_ROUTE Constant Public Type reference (TYPE) VBI_GC_SERVICE_TYPE 'R' Geo Coding Service Type 20121130
3 CO_SERV_TYPE_REVERSE_SEARCH Instance attribute Public Type reference (TYPE) VBI_GC_SERVICE_TYPE 'B' Geo Coding Service Type 20130604
4 CO_URL_PLACEHOLDER_LANGU Constant Protected Type reference (TYPE) STRING '{LANG}' 20121130
5 CO_URL_PLACEHOLDER_LAT0 Constant Protected Type reference (TYPE) STRING '{LAT0}' 20121130
6 CO_URL_PLACEHOLDER_LAT1 Constant Protected Type reference (TYPE) STRING '{LAT1}' 20121130
7 CO_URL_PLACEHOLDER_LOC_A Constant Protected Type reference (TYPE) STRING '{LOCA}' 20121130
8 CO_URL_PLACEHOLDER_LOC_B Constant Protected Type reference (TYPE) STRING '{LOCB}' 20121130
9 CO_URL_PLACEHOLDER_LON0 Constant Protected Type reference (TYPE) STRING '{LON0}' 20121130
10 CO_URL_PLACEHOLDER_LON1 Constant Protected Type reference (TYPE) STRING '{LON1}' 20121130
11 CO_URL_PLACEHOLDER_ZOOM Static Attribute Protected Type reference (TYPE) STRING '{ZOOM}' 20130517
12 LAST_USED_INSTANCE Static Attribute Private Object reference (TYPE REF TO) IF_VBI_GEOCODING_SERVICE Geo Coding Interface 20121130
13 SERVICE_DEFINITIONS Static Attribute Private Type reference (TYPE) CL_VBI_CUSTOMIZING_ACCESS=>SERVICE_TYPES_TAB 20121130
14 SERVICE_INSTANCES Static Attribute Private Type reference (TYPE) INSTANCE_TAB 20121130
Methods
# Method Level Visibility Method type Description Created on
1 CALL_SERVICE Instance method Protected Method 20121130
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20121130
3 DEC2STRING Static method Public Method Converts a DEC to a STRING with leading sign 20130911
4 ESCAPE_URL_PARAMS Instance method Protected Method 20121130
5 GET_INSTANCE Static method Public Method Factory Method 20121130
6 GET_LANGUAGE_CODE Static method Public Method 20130627
7 GET_SERVICE_URL_TEMPLATE Instance method Protected Method 20121130
8 RESET Static method Public Method Clear existing service instances 20130508
Events
Class CL_VBI_GEOCODER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 INSTANCE_ENTRY Private See coding 20121130 begin of INSTANCE_ENTRY, SERVICE_ID type VBI_CONFIG_ID, INSTANCE type ref to IF_VBI_GEOCODING_SERVICE, end of INSTANCE_ENTRY
2 INSTANCE_TAB Private See coding 20121130 INSTANCE_TAB type hashed table of INSTANCE_ENTRY with unique key SERVICE_ID
Method Signatures

Method CALL_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_URL Call by reference Type reference (TYPE) STRING 20121130
2 Returning RV_RESPONSE Value transfer Type reference (TYPE) STRING 20121130
# Exception Resumable Description Created on
1 CX_VBI_SERVICE_CALL_FAILED Exception: Service Call failed 20130109

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_SERVICE_TYPES Call by reference Type reference (TYPE) CL_VBI_CUSTOMIZING_ACCESS=>SERVICE_TYPES_TAB 20121130

Method CONSTRUCTOR on class CL_VBI_GEOCODER has no exception.

Method DEC2STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COORDINATE Call by reference Type reference (TYPE) VBI_COORDINATE Coordinate 20130911
2 Returning RV_RESULT Value transfer Type reference (TYPE) STRING 20130911

Method DEC2STRING on class CL_VBI_GEOCODER has no exception.

Method ESCAPE_URL_PARAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_URL Call by reference Type reference (TYPE) STRING 20121130
2 Returning RV_RESULT Value transfer Type reference (TYPE) STRING 20121130

Method ESCAPE_URL_PARAMS on class CL_VBI_GEOCODER has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SERVICE_ID Call by reference Type reference (TYPE) VBI_CONFIG_ID Configuration Identifier 20121130
2 Returning RV_RESULT Value transfer Object reference (TYPE REF TO) IF_VBI_GEOCODING_SERVICE Geo Coding Interface 20121130

Method GET_INSTANCE on class CL_VBI_GEOCODER has no exception.

Method GET_LANGUAGE_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_RESULT Value transfer Type reference (TYPE) STRING Language code 20130627

Method GET_LANGUAGE_CODE on class CL_VBI_GEOCODER has no exception.

Method GET_SERVICE_URL_TEMPLATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SERVICE_TYPE Call by reference Type reference (TYPE) VBI_GC_SERVICE_TYPE Geo Coding Service Type 20121130
2 Returning RV_RESULT Value transfer Type reference (TYPE) STRING Service Uniform Resource Locator (URL) 20121130

Method GET_SERVICE_URL_TEMPLATE on class CL_VBI_GEOCODER has no exception.

Method RESET Signature

Method RESET on class CL_VBI_GEOCODER has no parameter.
Method RESET on class CL_VBI_GEOCODER has no exception.
History
Last changed by/on SAP  20131127 
SAP Release Created in 100