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

Class SubTypeAwareDisplay

source code

 object --+        
DisplayBase --+    
        Display --+

Instance Methods [hide private]
__init__(self, cfg=None) source code
get_aspect(self, graph, resource, variant) source code
create_match_graph(self, graph)
For optimization, creating a sparse graph of "best matching" for all resources and querying only that at runtime.
source code
super(type, obj) -> bound super object; requires isinstance(obj, type)...
source code

Inherited from Display: get_extra_data, get_result_generator, parse_variant

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

Class Variables [hide private]

Inherited from Display: aspects, globalQueries, outputEncoding, outputMethod, templateBase

Inherited from DisplayBase: contentType

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cfg=None)

source code 
Overrides: Display.__init__

get_aspect(self, graph, resource, variant)

source code 
Overrides: Display.get_aspect


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)

unbound super object