Trees | Indices | Help |
|
---|
|
object --+ | rendering.Rendering --+ | TextOcciRendering
This is a rendering which will use the HTTP header to place the information in an syntax and semantics as defined in the OCCI specification.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|||
Inherited from rendering.Rendering | |||
---|---|---|---|
|
|
|||
mime_type =
|
|
|||
Inherited from |
|
Mainly here so TextPlainRendering can reuse. headers -- The headers of the request. body -- The body of the request. |
Mainly here so TextPlainRendering can reuse. data -- An HTTPData object. |
Given the HTTP headers and the body this method will convert the HTTP data into an entity representation. Must return Resource or Link instances. headers -- The HTTP headers. body -- The HTTP body. def_kind -- If provided this kind is taken (Needed for update). extras -- Passed on extra object.
|
Given an entity it will return a HTTP body an header. If it's a link make sure source, target attributes are set. If it's a Resource make sure Links are presented properly. entity -- The entity which is to rendered.
|
Given the HTTP headers and the body this method will convert the HTTP data into a set of entity representations. Must return a set of Resource or Link instances. headers -- The HTTP headers. body -- The HTTP body. extras -- Passed on extra object.
|
Given an set of entities it will return a HTTP body an header. entities -- The entities which will be rendered. key -- Needed for uri-list (see RFC) and html rendering.
|
Given an set of categories it will return a HTTP body an header. categories -- The list of categories which is to be rendered.
|
Given the HTTP headers and the body this method will convert the HTTP data into an Action. headers -- The HTTP headers. body -- The HTTP body. extras -- Passed on extra object.
|
Given the HTTP headers and the body this method will convert the HTTP data into a Mixins. Must return a list with Mixin instances. headers -- The HTTP headers. body -- The HTTP body. extras -- Passed on extra object.
|
Given the HTTP headers and the body this method will convert the HTTP data into a list of categories and attributes. headers -- The HTTP headers. body -- The HTTP body. extras -- Passed on extra object.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Nov 19 09:07:42 2012 | http://epydoc.sourceforge.net |