Package rsbxml :: Module xop :: Class XOPConverter
[hide private]
[frames] | no frames]

Class XOPConverter

source code

             object --+    
                      |    
rsb.converter.Converter --+
                          |
                         XOPConverter

Instance Methods [hide private]
 
__init__(self, attachmentConverter=getGlobalConverterMap(bytearray))
Constructor.
source code
 
getAttachmentConverter(self) source code
 
serialize(self, input) source code
 
deserialize(self, input, wireSchema) source code

Inherited from rsb.converter.Converter: getDataType, getWireSchema, getWireType

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

Properties [hide private]
  attachmentConverter

Inherited from rsb.converter.Converter: dataType, wireSchema, wireType

Inherited from object: __class__

Method Details [hide private]

__init__(self, attachmentConverter=getGlobalConverterMap(bytearray))
(Constructor)

source code 

Constructor.

Parameters:
  • wireType - Python type to/from which the converter serializes/deserializes
  • dataType - Python type of data accepted by the converter for serialization (also Python type of deserialized data)
  • wireSchema - Wire-schema understood by the converter when deserializing (also wire-schema of data serialized with the converter)
Overrides: object.__init__
(inherited documentation)

serialize(self, input)

source code 
Overrides: rsb.converter.Converter.serialize

deserialize(self, input, wireSchema)

source code 
Overrides: rsb.converter.Converter.deserialize

Property Details [hide private]

attachmentConverter

Get Method:
getAttachmentConverter(self)