Home | Trees | Indices | Help |
|
---|
|
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 --+ | | | GavoRenderMixin --+ | GavoPage --+ | ResourceBasedPage
A base for renderers based on RDs.
It is constructed with the resource descriptor and leaves it in the rd attribute.
The preferredMethod attribute is used for generation of registry records and currently should be either GET or POST. urlUse should be one of full, base, post, or dir, in accord with VOResource.
Renderers with fixed result types should fill out resultType.
The makeAccessURL class method is called by service.getURL; it receives the service's base URL and must return a mogrified string that corresponds to an endpoint this renderer will operate on (this could be used to make a Form renderer into a ParamHTTP interface by attaching ?__nevow_form__=genForm&, and the soap renderer does nontrivial things there).
Within DaCHS, this class is mainly used as a base for ServiceBasedRenderer, since almost always only services talk to the world. However, we try to fudge render and data functions such that the sidebar works.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
Class Methods | |||
|
|||
|
|||
|
Class Variables | |
preferredMethod =
|
|
urlUse =
|
|
resultType = None hash(x) |
|
parameterStyle =
|
|
name = None hash(x) |
|
__implemented__ = <implementedBy gavo.web.grend.ResourceBasedP
|
|
Inherited from Inherited from Inherited from Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
should return true if the content rendered will only change when the associated RD changes. request is a nevow request object. web.root.ArchiveService already makes sure that you only see GET request without arguments and without a user, so you do not need to check this. |
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.
|
Class Variable Details |
__implemented__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |