Trees | Indices | Help |
|
---|
|
object --+ | Content
A class for content objects.
This class may be deprecated in the future. All attributes and methods have equivalent ones in WithContentMixin, with prefix "content_".
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
as_file | |||
data | |||
is_textual This property indicates if this content's data can be handled as text. |
|||
mimetype | |||
model | |||
model_id The id-ref of the model, or None. |
|||
parsed | |||
url | |||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
|
This property indicates if this content's data can be handled as text. It uses the mimetypes registered with `advene.model.content.register.register_textual_mimetype`.
|
|
|
The id-ref of the model, or None. This is a read-only property giving the id-ref of the resource held by `model`, or None if there is no model. Note that this property is accessible even if the corresponding model is unreachable.
|
|
|
|
|
|
|
|
|
as_file
|
is_textualThis property indicates if this content's data can be handled as text. It uses the mimetypes registered with `advene.model.content.register.register_textual_mimetype`.
|
mimetype
|
model
|
model_idThe id-ref of the model, or None. This is a read-only property giving the id-ref of the resource held by `model`, or None if there is no model. Note that this property is accessible even if the corresponding model is unreachable.
|
parsed
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 8 16:00:02 2009 | http://epydoc.sourceforge.net |