Package advene :: Package model :: Package content :: Module avpairs
[hide private]
[frames] | no frames]

Module avpairs

source code

I am the content handler for a set of mimetypes using attribute-value pairs.

Functions [hide private]
 
claims_for_handle(mimetype)
Is this content likely to handle a content with that mimetype.
source code
 
parse_content(obj)
Parse the content of the given package element, and return the produced object.
source code
 
unparse_content(obj)
Serializes (or unparse) an object produced by `parse_content` into a string.
source code
Function Details [hide private]

claims_for_handle(mimetype)

source code 

Is this content likely to handle a content 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.