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

Class TypedContent

source code

         object --+        
                  |        
sxbase.SchemaObject --+    
                      |    
         sxbase.Content --+
                          |
                         TypedContent
Known Subclasses:

Represents any typed content.

Instance Methods [hide private]
SchemaObject
resolve(self, nobuiltin=False)
Resolve and return the nodes true self.
source code
qref
qref(self)
Get the type qualified reference to the referenced xsd type.
source code

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

resolve(self, nobuiltin=False)

source code 

Resolve and return the nodes true self.

Parameters:
  • nobuiltin - Flag indicates that resolution must not continue to include xsd builtins.
Returns: SchemaObject
The resolved (true) type.
Overrides: sxbase.SchemaObject.resolve
(inherited documentation)

qref(self)

source code 

Get the type qualified reference to the referenced xsd type. This method takes into account simple types defined through restriction with are detected by determining that self is simple (len=0) and by finding a restriction child.

Returns: qref
The type qualified reference.