Package CMFCore :: Module ContentTypeRegistry
[show private | hide private]
[frames | no frames]

Module CMFCore.ContentTypeRegistry

Basic Site content type registry

$Id: ContentTypeRegistry.py 36457 2004-08-12 15:07:44Z jens $
Classes
ContentTypeRegistry Registry for rules which map PUT args to a CMF Type Object.
ExtensionPredicate Predicate matching on filename extensions.
klass Predicate matching only on 'name', using regex matching for string patterns (other objects conforming to 'match' and 'pattern' can also be passed).
MajorMinorPredicate Predicate matching on 'major/minor' content types.
MimeTypeRegexPredicate Predicate matching only on 'typ', using regex matching for string patterns (other objects conforming to 'match' can also be passed).
NameRegexPredicate Predicate matching only on 'name', using regex matching for string patterns (other objects conforming to 'match' and 'pattern' can also be passed).

Variable Summary
list _predicate_types = [('major_minor', <class 'CMFCore.Cont...

Variable Details

_predicate_types

Type:
list
Value:
[('major_minor', <class 'CMFCore.ContentTypeRegistry.MajorMinorPredica\
te'>),
 ('extension', <class 'CMFCore.ContentTypeRegistry.ExtensionPredicate'\
>),
 ('mimetype_regex',
  <class 'CMFCore.ContentTypeRegistry.MimeTypeRegexPredicate'>),
 ('name_regex', <class 'CMFCore.ContentTypeRegistry.NameRegexPredicate\
'>)]                                                                   

Generated by Epydoc 2.1 on Wed Nov 30 03:59:48 2005 http://epydoc.sf.net