Package gavo :: Package web :: Module vodal :: Class DALRenderer
[frames] | no frames]

Class DALRenderer

source code

                   object --+                        
                            |                        
       nevow.rend.DataFactory --+                    
                                |                    
                   object --+   |                    
                            |   |                    
     nevow.rend.RenderFactory --+                    
                                |                    
                   object --+   |                    
                            |   |                    
      nevow.rend.MacroFactory --+                    
                                |                    
                   object --+   |                    
                            |   |                    
 nevow.rend.ConfigurableMixin --+                    
                                |                    
              nevow.rend.Fragment --+                
                                    |                
   nevow.rend.ConfigurableFactory --+                
                                    |                
nevow.rend.FreeformChildMixin --+   |                
                                |   |                
      nevow.rend.ChildLookupMixin --+                
                                    |                
                      nevow.rend.Page --+            
                                        |            
                       object --+       |            
                                |       |            
           common.CommonRenderers --+   |            
                                    |   |            
                grend.GavoRenderMixin --+            
                                        |            
                           grend.GavoPage --+        
                                            |        
                      grend.ResourceBasedPage --+    
                                                |    
                           grend.ServiceBasedPage --+
                                                    |
                                                   DALRenderer
Known Subclasses:

is a base class for renderers for the usual IVOA DAL protocols.

This is for simple, GET-based DAL renderers (where we allow POST as well). They work using nevow forms, but with standard-compliant error reporting (i.e., in VOTables).

Since DALRenderer mixes in FormMixin, it always has the form genFrom.

Instance Methods
 
__init__(self, ctx, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
renderHTTP(self, ctx) source code
 
renderSync(self, ctx) source code
 
__provides__(...)
Special descriptor for class __provides__

Inherited from grend.ServiceBasedPage: child, data_serviceURL, locateChild, processData, renderer, runService, runServiceWithFormalData

Inherited from grend.ResourceBasedPage: data_rdId

Inherited from nevow.rend.Page: child_, flattenFactory, onPostFailure, onPostSuccess, rememberStuff, renderString, renderSynchronously, webFormPost

Inherited from nevow.rend.Fragment: get, remember, rend

Inherited from nevow.rend.DataFactory: __providedBy__

Inherited from nevow.rend.RenderFactory: render_data, render_mapping, render_sequence, render_string, render_xml

Inherited from nevow.rend.MacroFactory: macro

Inherited from nevow.rend.ConfigurableMixin: getBinding, getBindingNames, getDefault, postForm

Inherited from grend.GavoRenderMixin: data_meta, data_rd, render_authinfo, render_datameta, render_explodableMeta, render_ifadmin, render_ifdata, render_ifmeta, render_ifnodata, render_ifnoslot, render_ifownmeta, render_ifslot, render_intro, render_meta, render_metahtml, render_prependsite, render_withsidebar

Inherited from common.CommonRenderers: render_commonhead, render_getconfig, render_rootlink, render_unicode, render_urlescape

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

Inherited from nevow.rend.ConfigurableFactory: configurable_, configurable_original, locateConfigurable

Inherited from nevow.rend.ChildLookupMixin: childFactory, putChild

Inherited from nevow.rend.FreeformChildMixin: child_freeform_hand

Class Methods
 
makeAccessURL(cls, baseURL)
returns an accessURL for a service with baseURL to this renderer.
source code
 
isBrowseable(self, service)
returns True if this renderer applied to service is usable using a plain web browser.
source code

Inherited from grend.ResourceBasedPage: isCacheable

Class Variables
  resultType = 'application/x-votable+xml'
hash(x)
  urlUse = 'base'
  standardId = None
hash(x)
  __implemented__ = <implementedBy gavo.web.vodal.DALRenderer>

Inherited from grend.ServiceBasedPage: checkedRenderer, openRenderer

Inherited from grend.ResourceBasedPage: name, parameterStyle, preferredMethod

Inherited from nevow.rend.Page: addSlash, afterRender, beforeRender, buffered

Inherited from nevow.rend.Fragment: docFactory, original

Inherited from grend.GavoRenderMixin: macroPackage

Inherited from nevow.rend.ChildLookupMixin: children

Properties

Inherited from object: __class__

Method Details

__init__(self, ctx, *args, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

makeAccessURL(cls, baseURL)
Class Method

source code 
returns an accessURL for a service with baseURL to this renderer.
Overrides: grend.ResourceBasedPage.makeAccessURL
(inherited documentation)

isBrowseable(self, service)
Class Method

source code 
returns True if this renderer applied to service is usable using a plain web browser.
Overrides: grend.ResourceBasedPage.isBrowseable
(inherited documentation)

renderHTTP(self, ctx)

source code 
Overrides: nevow.rend.Page.renderHTTP

__provides__(...)

 

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

Overrides: nevow.rend.FreeformChildMixin.__provides__