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

Class Display

source code

 object --+    
          |    
DisplayBase --+
              |
             Display
Known Subclasses:
SubTypeAwareDisplay

Instance Methods [hide private]
 
__init__(self, cfg=None) source code
 
parse_variant(self, variantStr) source code
 
get_result_generator(self, graph, appUtil, variantArg) source code
 
get_aspect(self, graph, resource, variant) source code
 
get_extra_data(self, appUtil, variant)
Use for further template preparation based on current request.
source code
 
__super(type)
super(type, obj) -> bound super object; requires isinstance(obj, type)...
source code

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

Class Variables [hide private]
  outputMethod = None
  outputEncoding = None
  templateBase = ''
  globalQueries = None
  aspects = []

Inherited from DisplayBase: contentType

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, cfg=None)
(Constructor)

source code 
Overrides: DisplayBase.__init__

parse_variant(self, variantStr)

source code 
Decorators:
  • @contract.default_method

get_result_generator(self, graph, appUtil, variantArg)

source code 
Overrides: DisplayBase.get_result_generator

get_extra_data(self, appUtil, variant)

source code 
Use for further template preparation based on current request.
Decorators:
  • @contract.default_method

__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