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

Class Any

source code

         object --+        
                  |        
sxbase.SchemaObject --+    
                      |    
         sxbase.Content --+
                          |
                         Any

Represents an (xsd) <any/> node

Instance Methods [hide private]
(SchemaObject, [SchemaObject,..])
get_child(self, name)
Get (find) a non-attribute child by name.
source code
(SchemaObject, [SchemaObject,..])
get_attribute(self, name)
Get (find) a non-attribute attribute by name.
source code
boolean
any(self)
Get whether this is an <xs:any/>
source code

Inherited from sxbase.SchemaObject: __getitem__, __init__, __iter__, __len__, __repr__, __str__, __unicode__, all, attributes, autoqualified, builtin, children, childtags, choice, content, default_namespace, dependencies, description, enum, extension, find, isattr, merge, mixed, namespace, optional, qualify, required, resolve, restriction, 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]

get_child(self, name)

source code 

Get (find) a non-attribute child by name.

Parameters:
  • name - A child name.
Returns: (SchemaObject, [SchemaObject,..])
A tuple: the requested (child, ancestry).
Overrides: sxbase.SchemaObject.get_child
(inherited documentation)

get_attribute(self, name)

source code 

Get (find) a non-attribute attribute by name.

Parameters:
  • name - A attribute name.
Returns: (SchemaObject, [SchemaObject,..])
A tuple: the requested (attribute, ancestry).
Overrides: sxbase.SchemaObject.get_attribute
(inherited documentation)

any(self)

source code 

Get whether this is an <xs:any/>

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