Package suds :: Package xsd :: Module sxbasic :: Class SimpleContent
[hide private]
[frames] | no frames]

Class SimpleContent

source code

         object --+    
                  |    
sxbase.SchemaObject --+
                      |
                     SimpleContent

Represents an (xsd) schema <xs:simpleContent/> node.

Instance Methods [hide private]
[str,...]
childtags(self)
Get a list of valid child tag names.
source code
boolean
extension(self)
Get whether the object is an extension of another type.
source code
boolean
restriction(self)
Get whether the object is an restriction of another type.
source code
 
mixed(self)
Get whether this mixed content.
source code

Inherited from sxbase.SchemaObject: __getitem__, __init__, __iter__, __len__, __repr__, __str__, __unicode__, all, any, attributes, autoqualified, builtin, children, choice, content, default_namespace, dependencies, description, enum, find, get_attribute, get_child, isattr, merge, namespace, optional, qualify, required, resolve, sequence, str, translate, unbounded, xslist

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

Class Methods [hide private]

Inherited from sxbase.SchemaObject: append, prepend

Instance Variables [hide private]

Inherited from sxbase.SchemaObject: default, form_qualified, nillable, rawchildren, root, schema

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

childtags(self)

source code 

Get a list of valid child tag names.

Returns: [str,...]
A list of child tag names.
Overrides: sxbase.SchemaObject.childtags
(inherited documentation)

extension(self)

source code 

Get whether the object is an extension of another type.

Returns: boolean
True if an extension, else False.
Overrides: sxbase.SchemaObject.extension
(inherited documentation)

restriction(self)

source code 

Get whether the object is an restriction of another type.

Returns: boolean
True if an restriction, else False.
Overrides: sxbase.SchemaObject.restriction
(inherited documentation)

mixed(self)

source code 

Get whether this mixed content.

Overrides: sxbase.SchemaObject.mixed
(inherited documentation)