Package suds :: Package mx :: Module appender :: Class Appender
[hide private]
[frames] | no frames]

Class Appender

source code

Known Subclasses:

An appender used by the marshaller to append content.

Instance Methods [hide private]
 
__init__(self, marshaller) source code
Element
node(self, content)
Create and return an XML node that is qualified using the type.
source code
 
setnil(self, node, content)
Set the value of the node to nill.
source code
 
setdefault(self, node, content)
Set the value of the node to a default value.
source code
 
optional(self, content)
Get whether the specified content is optional.
source code
 
suspend(self, content)
Notify marshaller that appending this content has suspended.
source code
 
resume(self, content)
Notify marshaller that appending this content has resumed.
source code
 
append(self, parent, content)
Append the specified content to the parent.
source code
Instance Variables [hide private]
suds.mx.core.Core marshaller
A marshaller.
Method Details [hide private]

__init__(self, marshaller)
(Constructor)

source code 
Parameters:

node(self, content)

source code 

Create and return an XML node that is qualified using the type. Also, make sure all referenced namespace prefixes are declared.

Parameters:
  • content (Object) - The content for which proccessing has ended.
Returns: Element
A new node.

setnil(self, node, content)

source code 

Set the value of the node to nill.

Parameters:
  • node (Element) - A nil node.
  • content (Object) - The content for which proccessing has ended.

setdefault(self, node, content)

source code 

Set the value of the node to a default value.

Parameters:
  • node (Element) - A nil node.
  • content (Object) - The content for which proccessing has ended.
Returns:
The default.

optional(self, content)

source code 

Get whether the specified content is optional.

Parameters:
  • content (Content) - The content which to check.

suspend(self, content)

source code 

Notify marshaller that appending this content has suspended.

Parameters:
  • content (Object) - The content for which proccessing has been suspended.

resume(self, content)

source code 

Notify marshaller that appending this content has resumed.

Parameters:
  • content (Object) - The content for which proccessing has been resumed.

append(self, parent, content)

source code 

Append the specified content to the parent.

Parameters:
  • content (Object) - The content to append.