Back to index

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

List of all members.

Public Attributes

 context
 environ

Static Public Attributes

string mime_type = 'text/plain'
string name = ''
string suffix = ''

Properties

 node = property(_exportSimpleNode, _importSimpleNode)
 body = property(_exportBody, _importBody)

Private Member Functions

def _exportSimpleNode
def _importSimpleNode
def _exportBody
def _importBody

Detailed Description

Body im- and exporter base.

Definition at line 482 of file utils.py.


Member Function Documentation

Export the object as a file body.

Reimplemented in GenericSetup.utils.XMLAdapterBase.

Definition at line 502 of file utils.py.

00502 
00503     def _exportBody(self):
00504         """Export the object as a file body.
00505         """
00506         return ''

Export the object as a DOM node.

Definition at line 489 of file utils.py.

00489 
00490     def _exportSimpleNode(self):
00491         """Export the object as a DOM node.
00492         """
00493         if ISetupTool.providedBy(self.context):
00494             return None
00495         return self._getObjectNode('object', False)

Here is the call graph for this function:

def GenericSetup.utils.BodyAdapterBase._importBody (   self,
  body 
) [private]
Import the object from the file body.

Reimplemented in GenericSetup.utils.XMLAdapterBase.

Definition at line 507 of file utils.py.

00507 
00508     def _importBody(self, body):
00509         """Import the object from the file body.
00510         """

def GenericSetup.utils.BodyAdapterBase._importSimpleNode (   self,
  node 
) [private]
Import the object from the DOM node.

Definition at line 496 of file utils.py.

00496 
00497     def _importSimpleNode(self, node):
00498         """Import the object from the DOM node.
00499         """


Member Data Documentation

Definition at line 454 of file utils.py.

Definition at line 455 of file utils.py.

string GenericSetup.utils.BodyAdapterBase.mime_type = 'text/plain' [static]

Reimplemented in GenericSetup.utils.XMLAdapterBase.

Definition at line 513 of file utils.py.

Reimplemented in GenericSetup.utils.XMLAdapterBase.

Definition at line 515 of file utils.py.

Reimplemented in GenericSetup.utils.XMLAdapterBase.

Definition at line 517 of file utils.py.


Property Documentation

Reimplemented in GenericSetup.utils.XMLAdapterBase.

Definition at line 511 of file utils.py.

Definition at line 500 of file utils.py.


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