Package suds :: Package xsd :: Module sxbuiltin :: Class XAny
[hide private]
[frames] | no frames]

Class XAny

source code

         object --+        
                  |        
sxbase.SchemaObject --+    
                      |    
        sxbase.XBuiltin --+
                          |
                         XAny

Represents an (xsd) <any/> node

Instance Methods [hide private]
 
__init__(self, schema, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
(SchemaObject, [SchemaObject,..])
get_child(self, name)
Get (find) a non-attribute child by name.
source code
boolean
any(self)
Get whether this is an <xs:any/>
source code

Inherited from sxbase.XBuiltin: builtin, namespace, resolve

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

__init__(self, schema, name)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • schema - The containing schema.
Overrides: object.__init__
(inherited documentation)

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)

any(self)

source code 

Get whether this is an <xs:any/>

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