Package suds :: Package mx :: Module basic :: Class Basic
[hide private]
[frames] | no frames]

Class Basic

source code

core.Core --+
            |
           Basic

A basic (untyped) marshaller.

Instance Methods [hide private]
Element
process(self, value, tag=None)
Process (marshal) the tag with the specified value using the optional type information.
source code

Inherited from core.Core: __init__, append, end, node, optional, reset, resume, setdefault, setnil, start, suspend

Instance Variables [hide private]

Inherited from core.Core: appender

Method Details [hide private]

process(self, value, tag=None)

source code 

Process (marshal) the tag with the specified value using the optional type information.

Parameters:
  • value ((Object|any)) - The value (content) of the XML node.
  • tag (str) - The (optional) tag name for the value. The default is value.__class__.__name__
Returns: Element
An xml node.
Overrides: core.Core.process