Module AccAdapt :: Class PORAdapter
[hide private]
[frames] | no frames]

Class PORAdapter

source code

object --+    
         |    
   Adapter --+
             |
            PORAdapter

Convenience base class for Adapters for PORs. Provides direct access to POR data through instance variables.

Instance Methods [hide private]
 
__init__(self, subject=None)
Override storing of subject POR in adapter to also store its accessible and item offset in instance variables for convenince.
source code
object
__call__(self, subject)
Override storing of subject POR in adapter to also store its accessible and item offset in instance variables for convenince.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from Adapter: provides, singleton, when

Instance Variables [hide private]
pyLinAcc.Accessible accessible
Reference to the accessible in the POR
integer char_offset
Reference to the character offset in the POR
integer item_offset
Reference to the item offset in the POR
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, subject=None)
(Constructor)

source code 

Override storing of subject POR in adapter to also store its accessible and item offset in instance variables for convenince.

Parameters:
  • subject (POR) - Point of regard adapted by this object
Overrides: Adapter.__init__

__call__(self, subject)
(Call operator)

source code 

Override storing of subject POR in adapter to also store its accessible and item offset in instance variables for convenince.

Parameters:
  • subject (POR) - Point of regard adapted by this object
Returns: object
Reference to this instance
Overrides: Adapter.__call__