Back to index

plone3  3.1.7
Static Public Attributes | Private Member Functions | Static Private Attributes
CMFCore.exportimport.typeinfo.TypesToolXMLAdapter Class Reference
Inheritance diagram for CMFCore.exportimport.typeinfo.TypesToolXMLAdapter:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.exportimport.typeinfo.TypesToolXMLAdapter:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

string name = 'types'

Private Member Functions

def _exportNode
def _importNode

Static Private Attributes

string _LOGGER_ID = 'types'

Detailed Description

XML im- and exporter for TypesTool.

Definition at line 143 of file typeinfo.py.


Member Function Documentation

Export the object as a DOM node.

Definition at line 154 of file typeinfo.py.

00154 
00155     def _exportNode(self):
00156         """Export the object as a DOM node.
00157         """
00158         node = self._getObjectNode('object')
00159         node.appendChild(self._extractProperties())
00160         node.appendChild(self._extractObjects())
00161 
00162         self._logger.info('Types tool exported.')
00163         return node

Here is the call graph for this function:

Here is the caller graph for this function:

Import the object from the DOM node.

Definition at line 164 of file typeinfo.py.

00164 
00165     def _importNode(self, node):
00166         """Import the object from the DOM node.
00167         """
00168         if self.environ.shouldPurge():
00169             self._purgeProperties()
00170             self._purgeObjects()
00171 
00172         self._initProperties(node)
00173         self._initObjects(node)
00174 
00175         self._logger.info('Types tool imported.')
00176 

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 150 of file typeinfo.py.

Definition at line 152 of file typeinfo.py.


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