class documentation

Handles management of an adapter stack for objects that implement IContext.

Method pop_adapter Remove the 'top' from the top of the adapter stack.
Method push_adapter Add an adapter to the 'top' of the adapter stack.
Method _adapt_getitem Apply adapters in order, calling their adapt_getitem() method.
Method _adapt_name Apply adapters in order, calling their adapt_name method.
Method _adapt_setitem Apply dapters in reverse order, calling their adapt_setitem() method.
def pop_adapter(self): (source)

Remove the 'top' from the top of the adapter stack. fixme: How to handle if the stack is empty?

def push_adapter(self, adapter): (source)

Add an adapter to the 'top' of the adapter stack.

def _adapt_getitem(self, context, name, value): (source)

Apply adapters in order, calling their adapt_getitem() method.

def _adapt_name(self, context, name): (source)

Apply adapters in order, calling their adapt_name method.

def _adapt_setitem(self, context, name, value): (source)

Apply dapters in reverse order, calling their adapt_setitem() method.