Package advene :: Package model :: Package view :: Module tal
[hide private]
[frames] | no frames]

Module tal

source code

I am the content handler for any mimetype of the form X/Y+tal.

Note that X/Y must be either text/html or an XML based mimetype.

Functions [hide private]
 
claims_for_handle(mimetype)
Is this view_handler likely to handle a view with that mimetype.
source code
 
get_output_mimetype(view)
Return the mimetype of the content produced by that view.
source code
 
apply_to(view, obj, refpkg=None) source code
Function Details [hide private]

claims_for_handle(mimetype)

source code 

Is this view_handler likely to handle a view with that mimetype.

Return an int between 00 and 99, indicating the likelyhood of this handler to handle correctly the given mimetype. 70 is used as a standard value when the hanlder is pretty sure it can handle the mimetype.

get_output_mimetype(view)

source code 

Return the mimetype of the content produced by that view.

Note that the output mimetype may depend on the mimetype of the view, as well as the content of the view itself, but should not depend on the element the view is applied to.