Package XSLForms :: Package Resources :: Module PyQtCommon :: Class PyQtCommonResource
[show private | hide private]
[frames | no frames]

Class PyQtCommonResource

CommonResource --+
                 |
                PyQtCommonResource

Known Subclasses:
XSLFormsResource, XSLFormsResource

Common PyQt-compatible resource methods.
Method Summary
  get_document(self, document_identifier)
Return a DOM-style document retrieved using the given 'document_identifier'.
  get_elements(self, document_identifier)
  populate_list(self, field, elements)
Populate the given 'field' using a list of DOM 'elements'.
  prepare_design(self, design_identifier)
  reset_collection(self, field)
Empty the given collection 'field'.
    Inherited from CommonResource
  prepare_document(self, document_identifier)
Prepare a document using the given 'document_identifier'.

Class Variable Summary
dict design_resources = {}
    Inherited from CommonResource
dict document_resources = {}
NoneType resource_dir = None                                                                  

Method Details

get_document(self, document_identifier)

Return a DOM-style document retrieved using the given 'document_identifier'.

Each implementation is free to choose its own DOM library.

populate_list(self, field, elements)

Populate the given 'field' using a list of DOM 'elements'.

reset_collection(self, field)

Empty the given collection 'field'.

Class Variable Details

design_resources

Type:
dict
Value:
{}                                                                     

Generated by Epydoc 2.1 on Fri Dec 9 15:06:36 2005 http://epydoc.sf.net