Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
ResourceRegistries.tools.KSSRegistry.KineticStylesheet Class Reference
Inheritance diagram for ResourceRegistries.tools.KSSRegistry.KineticStylesheet:
Inheritance graph
[legend]
Collaboration diagram for ResourceRegistries.tools.KSSRegistry.KineticStylesheet:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def getCompression
def setCompression

Static Public Attributes

tuple security = ClassSecurityInfo()

Detailed Description

Definition at line 19 of file KSSRegistry.py.


Constructor & Destructor Documentation

Definition at line 22 of file KSSRegistry.py.

00022 
00023     def __init__(self, id, **kwargs):
00024         Resource.__init__(self, id, **kwargs)
00025         self._data['compression'] = kwargs.get('compression', 'safe')

Here is the call graph for this function:


Member Function Documentation

Definition at line 27 of file KSSRegistry.py.

00027 
00028     def getCompression(self):
00029         # as this is a new property, old instance might not have that value, so
00030         # return 'safe' as default
00031         compression = self._data.get('compression', 'safe')
00032         if compression in config.KSS_COMPRESSION_METHODS:
00033             return compression
00034         return 'none'

Definition at line 36 of file KSSRegistry.py.

00036 
00037     def setCompression(self, compression):
00038         self._data['compression'] = compression
00039 
00040 InitializeClass(KineticStylesheet)
00041 

Here is the call graph for this function:


Member Data Documentation

Definition at line 20 of file KSSRegistry.py.


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