Back to index

plone3  3.1.7
Static Public Attributes | Properties | Private Member Functions
GenericSetup.PythonScripts.exportimport.PythonScriptBodyAdapter Class Reference
Inheritance diagram for GenericSetup.PythonScripts.exportimport.PythonScriptBodyAdapter:
Inheritance graph
[legend]
Collaboration diagram for GenericSetup.PythonScripts.exportimport.PythonScriptBodyAdapter:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

string mime_type = 'text/plain'
string suffix = '.py'

Properties

 body = property(_exportBody, _importBody)

Private Member Functions

def _exportBody
def _importBody

Detailed Description

Body im- and exporter for PythonScript.

Definition at line 26 of file exportimport.py.


Member Function Documentation

Export the object as a file body.

Definition at line 33 of file exportimport.py.

00033 
00034     def _exportBody(self):
00035         """Export the object as a file body.
00036         """
00037         return self.context.read()

Import the object from the file body.

Definition at line 38 of file exportimport.py.

00038 
00039     def _importBody(self, body):
00040         """Import the object from the file body.
00041         """
00042         self.context.write(body)


Member Data Documentation

Definition at line 45 of file exportimport.py.

Definition at line 47 of file exportimport.py.


Property Documentation

Definition at line 43 of file exportimport.py.


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