Package python-module-logilab-mtconverter-0 :: Package 8 :: Package 4 :: Module transform :: Class Transform
[frames] | no frames]

Class Transform

source code


a transform is converting some content in a acceptable MIME type into another MIME type
Instance Methods
 
__init__(self, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
TransformData
convert(self, trdata)
convert the given data structure into transform output's mime type
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  name = None
hash(x)
  inputs = ()
  output = None
hash(x)
  input_encoding = None
hash(x)
  output_encoding = None
hash(x)
Properties

Inherited from object: __class__

Method Details

__init__(self, **kwargs)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

convert(self, trdata)

source code 
convert the given data structure into transform output's mime type
Parameters:
Returns: TransformData