Package suds :: Package xsd :: Module sxbase :: Class XBuiltin
[hide private]
[frames] | no frames]

Class XBuiltin

source code

  object --+    
           |    
SchemaObject --+
               |
              XBuiltin
Known Subclasses:

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

Instance Methods [hide private]
 
__init__(self, schema, name)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
(prefix,URI)
namespace(self, prefix=None)
Get this properties namespace
source code
boolean
builtin(self)
Get whether this is a schema-instance (xs) type.
source code
SchemaObject
resolve(self, nobuiltin=False)
Resolve and return the nodes true self.
source code

Inherited from SchemaObject: __getitem__, __iter__, __len__, __repr__, __str__, __unicode__, all, any, attributes, autoqualified, children, childtags, choice, content, default_namespace, dependencies, description, enum, extension, find, get_attribute, get_child, 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 SchemaObject: append, prepend

Instance Variables [hide private]

Inherited from 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:
Overrides: object.__init__

namespace(self, prefix=None)

source code 

Get this properties namespace

Parameters:
  • prefix - The default prefix.
Returns: (prefix,URI)
The schema's target namespace
Overrides: SchemaObject.namespace
(inherited documentation)

builtin(self)

source code 

Get whether this is a schema-instance (xs) type.

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

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: SchemaObject.resolve
(inherited documentation)