just a record to bear a filename, a mediatype and a bytes content More...
Public Member Functions | |
__init__ (self, filename, mediatype, content=None) | |
the constructor | |
Public Attributes | |
mediatype = mediatype | |
filename = filename | |
content = content | |
just a record to bear a filename, a mediatype and a bytes content
Definition at line 101 of file opendocument.py.
odf.opendocument.OpaqueObject.__init__ | ( | self, | |
filename, | |||
mediatype, | |||
content = None ) |
the constructor
filename | a unicode string |
mediatype | a unicode string |
content | a byte string or None |
Definition at line 108 of file opendocument.py.
odf.opendocument.OpaqueObject.content = content |
Definition at line 115 of file opendocument.py.
odf.opendocument.OpaqueObject.filename = filename |
Definition at line 114 of file opendocument.py.
odf.opendocument.OpaqueObject.mediatype = mediatype |
Definition at line 113 of file opendocument.py.