Package oort :: Module display :: Class Aspect
[hide private]
[frames] | no frames]

Class Aspect

source code

    object --+        
             |        
    AspectBase --+    
                 |    
TemplateAspectBase --+
                     |
                    Aspect

Instance Methods [hide private]
 
post_init_configure(self, cfg) source code
 
load_template(self) source code
 
make_result_generator(self, graph, resource, lang, data=None)
Returns a generator that takes the arguments 'encoding' and 'output'.
source code
 
__super(type)
super(type, obj) -> bound super object; requires isinstance(obj, type)...
source code

Inherited from TemplateAspectBase: __init__

Inherited from AspectBase: generate_query_items, post_init_setup, using

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  RELOAD_TEMPLATES = 'reload_templates'
  doctypes = {'html': ('html', '-//W3C//DTD HTML 4.01//EN', 'htt...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

post_init_configure(self, cfg)

source code 
Overrides: TemplateAspectBase.post_init_configure

make_result_generator(self, graph, resource, lang, data=None)

source code 
Returns a generator that takes the arguments 'encoding' and 'output'.
Overrides: AspectBase.make_result_generator
(inherited documentation)

__super(type)

source code 
super(type, obj) -> bound super object; requires isinstance(obj, type)
super(type, type2) -> bound super object; requires issubclass(type2, type)
Typical use to call a cooperative superclass method:
class C(B):
    def meth(self, arg):
        super(C, self).meth(arg)

Returns:
unbound super object


Class Variable Details [hide private]

doctypes

Value:
{'html': ('html',
          '-//W3C//DTD HTML 4.01//EN',
          'http://www.w3.org/TR/html4/strict.dtd'),
 'html-frameset': ('html',
                   '-//W3C//DTD HTML 4.01 Frameset//EN',
                   'http://www.w3.org/TR/html4/frameset.dtd'),
 'html-strict': ('html',
                 '-//W3C//DTD HTML 4.01//EN',
...