SIHAdapterDescriptor Class Reference

Inherits from NSObject
Conforms to SICIDescriptor
Declared in SIHAdapterDescriptor.h
SIHAdapterDescriptor.m

Overview

  • Exposes methods to GET and SET Hybrid Descriptor Adapter information as per define in HybridDescriptor.xml file or standalone xml file in application.


Example:
    {@code
    
    

         
         
         adapter_name
         
         
         adapter_description
         
         
         HYBRID-TO-NATIVE|NATIVE-TO-HYBRID
         
         
         name_of_adapter_class
            
         
         true/false
         
         
         
         
         
             
             
                 
                     
                 handler_name
                 
                 
                 handler_description
                 
                 
                 name_of_handler_method
                 
                 
                 
                 
                 
                     
                     
                     
                         
                         name_of_parameter
                         
                         
                         parameter_type
                         
                         
                         description_of_parameter
                     
                     
                 
                 
                 
                 
                 
                     
                     return_type
                     
                     
                     return_data_description
                 
                 
             
             
         
         
            
    

    }
    
</p>

– getName

Get Name of Adapter.

- (NSString *)getName

Return Value

Name of Adapter.

Discussion

Get Name of Adapter.

Declared In

SIHAdapterDescriptor.h

– setName:

Set Name of Adapter.

- (void)setName:(NSString *)name

Parameters

name

Name of Adapter.

Discussion

Set Name of Adapter.

Declared In

SIHAdapterDescriptor.h

– getDescription

Get Description of Adapter.

- (NSString *)getDescription

Return Value

Description of Adapter.

Discussion

Get Description of Adapter.

Declared In

SIHAdapterDescriptor.h

– setDescription:

Set Description of Adapter.

- (void)setDescription:(NSString *)description

Parameters

description

Description of Adapter.

Discussion

Set Description of Adapter.

Declared In

SIHAdapterDescriptor.h

– getType

Get Type of Adapter.

- (NSString *)getType

Return Value

Type of Adapter.

Discussion

Get Type of Adapter.

Declared In

SIHAdapterDescriptor.h

– setType:

Set Type of Adapter.

- (void)setType:(NSString *)type

Parameters

type

Type of Adapter.

Discussion

Set Type of Adapter.

Declared In

SIHAdapterDescriptor.h

– getMapTo

Get Map To Name.

- (NSString *)getMapTo

Return Value

Map To Name.

Discussion

Get Map To Name.

Declared In

SIHAdapterDescriptor.h

– setMapTo:

Set Map To Name.

- (void)setMapTo:(NSString *)mapTo

Parameters

mapTo

Map To Name.

Discussion

Set Map To Name.

Declared In

SIHAdapterDescriptor.h

– isCache

Check whether cache is enabled or disabled.

- (bool)isCache

Return Value

true/false; TRUE if cache enabled, FALSE if cache disabled.

Discussion

Check whether cache is enabled or disabled.

Declared In

SIHAdapterDescriptor.h

– setCache:

Set Cache value.

- (void)setCache:(bool)cache

Parameters

cache

Cache Enabled or Disabled.

Discussion

Set Cache value.

Declared In

SIHAdapterDescriptor.h

– getHandlers

Get All Handler defined in descriptors.

- (NSEnumerator *)getHandlers

Return Value

All Handlers.

Discussion

Get All Handler defined in descriptors.

Declared In

SIHAdapterDescriptor.h

– getHandler:

Get Handler based on handler name.

- (SIHHandler *)getHandler:(NSString *)handlerName

Parameters

handlerName

Name of Handler.

Return Value

Handler.

Discussion

Get Handler based on handler name.

Declared In

SIHAdapterDescriptor.h

– addHandler:

Add Handler.

- (void)addHandler:(SIHHandler *)handler

Parameters

handler

Handler.

Discussion

Add Handler.

Declared In

SIHAdapterDescriptor.h

– containHandler:

Check whether handler exist or not based on handler name.

- (bool)containHandler:(NSString *)handlerName

Parameters

handlerName

Name of handler. @return

Discussion

Check whether handler exist or not based on handler name.

Declared In

SIHAdapterDescriptor.h