Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
Marshall.handlers.atxml.ErrorCallback Class Reference

List of all members.

Public Member Functions

def __init__
def __call__
def append
def get
def clear

Public Attributes

 msgs

Detailed Description

Definition at line 73 of file atxml.py.


Constructor & Destructor Documentation

Definition at line 75 of file atxml.py.

00075 
00076     def __init__(self):
00077         self.msgs = {}


Member Function Documentation

def Marshall.handlers.atxml.ErrorCallback.__call__ (   self,
  ctx,
  msg 
)

Definition at line 78 of file atxml.py.

00078 
00079     def __call__(self, ctx, msg):
00080         self.append(msg)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 81 of file atxml.py.

00081 
00082     def append(self, msg):
00083         tid = thread.get_ident()
00084         msgs = self.msgs.setdefault(tid, [])
00085         msgs.append(msg)

Here is the caller graph for this function:

Definition at line 92 of file atxml.py.

00092 
00093     def clear(self):
00094         tid = thread.get_ident()
00095         msgs = self.msgs[tid] = []
00096 

Here is the caller graph for this function:

def Marshall.handlers.atxml.ErrorCallback.get (   self,
  clear = False 
)

Definition at line 86 of file atxml.py.

00086 
00087     def get(self, clear=False):
00088         tid = thread.get_ident()
00089         msgs = self.msgs.setdefault(tid, [])
00090         if clear: self.clear()
00091         return ''.join(msgs)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 76 of file atxml.py.


The documentation for this class was generated from the following file: