Table Of Contents

Previous topic

Faults

Next topic

WSDL API

This Page

Model API

In soaplib, the Models are the components responsible for converting individual parameters to and from xml, as well as supply the information necessary to build the wsdl. Soaplib has many built-in Models that give you most of the common data-types generally needed.

Base

Module for soaplib model base classes (Base, SimpleType, and Null), along with several helper functions.

soaplib.core.model.base.nillable_value(func)
soaplib.core.model.base.nillable_element(func)
soaplib.core.model.base.nillable_string(func)
class soaplib.core.model.base.Base

Bases: object

Base class for all soaplib models.

class Annotations

Bases: object

class Base.Attributes

Bases: object

class Base.Empty

Bases: object

classmethod Base.add_to_schema(schema_entries)

Add this type to the wsdl.

classmethod Base.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Base.from_xml(element)
classmethod Base.get_namespace()
classmethod Base.get_namespace_prefix(app)
classmethod Base.get_type_name()
classmethod Base.get_type_name_ns(app)
static Base.is_default()
static Base.resolve_namespace(default_ns)
classmethod Base.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.base.Null

Bases: soaplib.core.model.base.Base

class Annotations

Bases: object

class Null.Attributes

Bases: object

class Null.Empty

Bases: object

classmethod Null.add_to_schema(schema_entries)

Add this type to the wsdl.

classmethod Null.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Null.from_xml(element)
classmethod Null.get_namespace()
classmethod Null.get_namespace_prefix(app)
classmethod Null.get_type_name()
classmethod Null.get_type_name_ns(app)
static Null.is_default()
static Null.resolve_namespace(default_ns)
classmethod Null.to_parent_element(value, tns, parent_elt, name='retval')
class soaplib.core.model.base.SimpleType

Bases: soaplib.core.model.base.Base

class Annotations

Bases: object

class SimpleType.Attributes

Bases: soaplib.core.model.base.Attributes

class SimpleType.Empty

Bases: object

classmethod SimpleType.add_to_schema(schema_entries)
classmethod SimpleType.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod SimpleType.from_xml(element)
classmethod SimpleType.get_namespace()
classmethod SimpleType.get_namespace_prefix(app)
classmethod SimpleType.get_restriction_tag(schema_entries)
classmethod SimpleType.get_type_name()
classmethod SimpleType.get_type_name_ns(app)
static SimpleType.is_default()
static SimpleType.resolve_namespace(default_ns)
classmethod SimpleType.to_parent_element(value, tns, parent_elt, *args, **kwargs)

Binary

class soaplib.core.model.binary.Attachment(data=None, file_name=None)

Bases: soaplib.core.model.base.Base

class Annotations

Bases: object

class Attachment.Attributes

Bases: object

class Attachment.Empty

Bases: object

classmethod Attachment.add_to_schema(schema_entries)

Add this type to the wsdl.

classmethod Attachment.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Attachment.from_xml(element)
classmethod Attachment.get_namespace()
classmethod Attachment.get_namespace_prefix(app)
classmethod Attachment.get_type_name()
classmethod Attachment.get_type_name_ns(app)
static Attachment.is_default()
Attachment.load_from_file()

This method loads the data from the specified file, and does no encoding/decoding of the data

static Attachment.resolve_namespace(default_ns)
Attachment.save_to_file()

This method writes the data to the specified file. This method assumes that the file_name is the full path to the file to be written. This method also assumes that self.data is the base64 decoded data, and will do no additional transformations on it, simply write it to disk.

classmethod Attachment.to_parent_element(value, tns, parent_elt, *args, **kwargs)

Clazz

class soaplib.core.model.clazz.Array(**kwargs)

Bases: soaplib.core.model.clazz.ClassModel

class Annotations

Bases: object

class Array.Attributes

Bases: object

class Array.Empty

Bases: object

classmethod Array.add_to_schema(schema_entries)
classmethod Array.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Array.from_string(xml_string)
classmethod Array.from_xml(element)
classmethod Array.get_deserialization_instance()
classmethod Array.get_members(inst, parent)
classmethod Array.get_namespace()
classmethod Array.get_namespace_prefix(app)
classmethod Array.get_serialization_instance(value)
classmethod Array.get_type_name()
classmethod Array.get_type_name_ns(app)
static Array.is_default()
static Array.produce(namespace, type_name, members)

Lets you create a class programmatically.

static Array.resolve_namespace(default_ns)
classmethod Array.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.clazz.ClassModel(**kwargs)

Bases: soaplib.core.model.clazz.ClassModelBase

The general complexType factory. The __call__ method of this class will return instances, contrary to primivites where the same call will result in customized duplicates of the original class definition. Those who’d like to customize the class should use the customize method. (see soaplib.core.model.base.Base)

class Annotations

Bases: object

class ClassModel.Attributes

Bases: object

class ClassModel.Empty

Bases: object

classmethod ClassModel.add_to_schema(schema_entries)
classmethod ClassModel.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod ClassModel.from_string(xml_string)
classmethod ClassModel.from_xml(element)
classmethod ClassModel.get_deserialization_instance()
classmethod ClassModel.get_members(inst, parent)
classmethod ClassModel.get_namespace()
classmethod ClassModel.get_namespace_prefix(app)
classmethod ClassModel.get_serialization_instance(value)
classmethod ClassModel.get_type_name()
classmethod ClassModel.get_type_name_ns(app)
static ClassModel.is_default()
static ClassModel.produce(namespace, type_name, members)

Lets you create a class programmatically.

static ClassModel.resolve_namespace(default_ns)
classmethod ClassModel.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.clazz.ClassModelBase(**kwargs)

Bases: soaplib.core.model.base.Base

If you want to make a better class type, this is what you should inherit from

class Annotations

Bases: object

class ClassModelBase.Attributes

Bases: object

class ClassModelBase.Empty

Bases: object

classmethod ClassModelBase.add_to_schema(schema_entries)
classmethod ClassModelBase.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod ClassModelBase.from_string(xml_string)
classmethod ClassModelBase.from_xml(element)
classmethod ClassModelBase.get_deserialization_instance()
classmethod ClassModelBase.get_members(inst, parent)
classmethod ClassModelBase.get_namespace()
classmethod ClassModelBase.get_namespace_prefix(app)
classmethod ClassModelBase.get_serialization_instance(value)
classmethod ClassModelBase.get_type_name()
classmethod ClassModelBase.get_type_name_ns(app)
static ClassModelBase.is_default()
static ClassModelBase.produce(namespace, type_name, members)

Lets you create a class programmatically.

static ClassModelBase.resolve_namespace(default_ns)
classmethod ClassModelBase.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.clazz.ClassModelMeta

Bases: type

This is the metaclass that populates ClassModel instances with the appropriate datatypes for (de)serialization.

mro

mro() -> list return a type’s method resolution order

class soaplib.core.model.clazz.XMLAttribute(typ, use=None)

Bases: soaplib.core.model.base.Base

items which are marshalled as attributes of the parent element.

class Annotations

Bases: object

class XMLAttribute.Attributes

Bases: object

class XMLAttribute.Empty

Bases: object

classmethod XMLAttribute.add_to_schema(schema_entries)

Add this type to the wsdl.

classmethod XMLAttribute.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

XMLAttribute.describe(name, element)
classmethod XMLAttribute.from_xml(element)
classmethod XMLAttribute.get_namespace()
classmethod XMLAttribute.get_namespace_prefix(app)
classmethod XMLAttribute.get_type_name()
classmethod XMLAttribute.get_type_name_ns(app)
static XMLAttribute.is_default()
XMLAttribute.marshall(name, value, parent_elt)
static XMLAttribute.resolve_namespace(default_ns)
classmethod XMLAttribute.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.clazz.XMLAttributeRef(ref, use=None)

Bases: soaplib.core.model.clazz.XMLAttribute

Reference to stock XML attribute.

class Annotations

Bases: object

class XMLAttributeRef.Attributes

Bases: object

class XMLAttributeRef.Empty

Bases: object

classmethod XMLAttributeRef.add_to_schema(schema_entries)

Add this type to the wsdl.

classmethod XMLAttributeRef.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

XMLAttributeRef.describe(name, element)
classmethod XMLAttributeRef.from_xml(element)
classmethod XMLAttributeRef.get_namespace()
classmethod XMLAttributeRef.get_namespace_prefix(app)
classmethod XMLAttributeRef.get_type_name()
classmethod XMLAttributeRef.get_type_name_ns(app)
static XMLAttributeRef.is_default()
XMLAttributeRef.marshall(name, value, parent_elt)
static XMLAttributeRef.resolve_namespace(default_ns)
classmethod XMLAttributeRef.to_parent_element(value, tns, parent_elt, *args, **kwargs)

Enum

soaplib.core.model.enum.Enum(*values, **kwargs)
class soaplib.core.model.enum.EnumBase

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class EnumBase.Attributes

Bases: soaplib.core.model.base.Attributes

class EnumBase.Empty

Bases: object

classmethod EnumBase.add_to_schema(schema_entries)
classmethod EnumBase.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod EnumBase.from_xml(element)
classmethod EnumBase.get_namespace()
classmethod EnumBase.get_namespace_prefix(app)
classmethod EnumBase.get_restriction_tag(schema_entries)
classmethod EnumBase.get_type_name()
classmethod EnumBase.get_type_name_ns(app)
static EnumBase.is_default()
static EnumBase.resolve_namespace(default_ns)
classmethod EnumBase.to_parent_element(value, tns, parent_elt, *args, **kwargs)

Exception

exception soaplib.core.model.exception.Fault(faultcode='Server', faultstring='', faultactor='', detail=None)

Bases: exceptions.Exception, soaplib.core.model.base.Base

class Annotations

Bases: object

class Fault.Attributes

Bases: object

class Fault.Empty

Bases: object

Fault.add_to_parent_element(tns, parent)
classmethod Fault.add_to_schema(schema_dict)
Fault.args
classmethod Fault.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Fault.from_xml(element)
classmethod Fault.get_namespace()
classmethod Fault.get_namespace_prefix(app)
classmethod Fault.get_type_name()
classmethod Fault.get_type_name_ns(app)
static Fault.is_default()
Fault.message
static Fault.resolve_namespace(default_ns)
classmethod Fault.to_parent_element(value, tns, parent_elt, name=None)

Primitive

class soaplib.core.model.primitive.Any

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class Any.Attributes

Bases: soaplib.core.model.base.Attributes

class Any.Empty

Bases: object

classmethod Any.add_to_schema(schema_entries)
classmethod Any.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Any.from_string(string)
classmethod Any.from_xml(element)
classmethod Any.get_namespace()
classmethod Any.get_namespace_prefix(app)
classmethod Any.get_restriction_tag(schema_entries)
classmethod Any.get_type_name()
classmethod Any.get_type_name_ns(app)
static Any.is_default()
static Any.resolve_namespace(default_ns)
classmethod Any.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.AnyAsDict

Bases: soaplib.core.model.primitive.Any

class Annotations

Bases: object

class AnyAsDict.Attributes

Bases: soaplib.core.model.base.Attributes

class AnyAsDict.Empty

Bases: object

classmethod AnyAsDict.add_to_schema(schema_entries)
classmethod AnyAsDict.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod AnyAsDict.from_string(string)
classmethod AnyAsDict.from_xml(element)
classmethod AnyAsDict.get_namespace()
classmethod AnyAsDict.get_namespace_prefix(app)
classmethod AnyAsDict.get_restriction_tag(schema_entries)
classmethod AnyAsDict.get_type_name()
classmethod AnyAsDict.get_type_name_ns(app)
static AnyAsDict.is_default()
static AnyAsDict.resolve_namespace(default_ns)
classmethod AnyAsDict.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.AnyUri

Bases: soaplib.core.model.primitive.String

class Annotations

Bases: object

class AnyUri.Attributes

Bases: soaplib.core.model.base.Attributes

class AnyUri.Empty

Bases: object

classmethod AnyUri.add_to_schema(schema_entries)
classmethod AnyUri.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod AnyUri.from_string(string)
classmethod AnyUri.from_xml(element)
classmethod AnyUri.get_namespace()
classmethod AnyUri.get_namespace_prefix(app)
classmethod AnyUri.get_restriction_tag(schema_entries)
classmethod AnyUri.get_type_name()
classmethod AnyUri.get_type_name_ns(app)
static AnyUri.is_default()
static AnyUri.resolve_namespace(default_ns)
classmethod AnyUri.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Boolean

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class Boolean.Attributes

Bases: soaplib.core.model.base.Attributes

class Boolean.Empty

Bases: object

classmethod Boolean.add_to_schema(schema_entries)
classmethod Boolean.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Boolean.from_string(string)
classmethod Boolean.from_xml(element)
classmethod Boolean.get_namespace()
classmethod Boolean.get_namespace_prefix(app)
classmethod Boolean.get_restriction_tag(schema_entries)
classmethod Boolean.get_type_name()
classmethod Boolean.get_type_name_ns(app)
static Boolean.is_default()
static Boolean.resolve_namespace(default_ns)
classmethod Boolean.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Date

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class Date.Attributes

Bases: soaplib.core.model.base.Attributes

class Date.Empty

Bases: object

classmethod Date.add_to_schema(schema_entries)
classmethod Date.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Date.from_string(string)
classmethod Date.from_xml(element)
classmethod Date.get_namespace()
classmethod Date.get_namespace_prefix(app)
classmethod Date.get_restriction_tag(schema_entries)
classmethod Date.get_type_name()
classmethod Date.get_type_name_ns(app)
static Date.is_default()
static Date.resolve_namespace(default_ns)
classmethod Date.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.DateTime

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class DateTime.Attributes

Bases: soaplib.core.model.base.Attributes

class DateTime.Empty

Bases: object

classmethod DateTime.add_to_schema(schema_entries)
classmethod DateTime.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod DateTime.from_string(string)
classmethod DateTime.from_xml(element)
classmethod DateTime.get_namespace()
classmethod DateTime.get_namespace_prefix(app)
classmethod DateTime.get_restriction_tag(schema_entries)
classmethod DateTime.get_type_name()
classmethod DateTime.get_type_name_ns(app)
static DateTime.is_default()
static DateTime.resolve_namespace(default_ns)
classmethod DateTime.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Decimal

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class Decimal.Attributes

Bases: soaplib.core.model.base.Attributes

class Decimal.Empty

Bases: object

classmethod Decimal.add_to_schema(schema_entries)
classmethod Decimal.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Decimal.from_string(string)
classmethod Decimal.from_xml(element)
classmethod Decimal.get_namespace()
classmethod Decimal.get_namespace_prefix(app)
classmethod Decimal.get_restriction_tag(schema_entries)
classmethod Decimal.get_type_name()
classmethod Decimal.get_type_name_ns(app)
static Decimal.is_default()
static Decimal.resolve_namespace(default_ns)
classmethod Decimal.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Double

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class Double.Attributes

Bases: soaplib.core.model.base.Attributes

class Double.Empty

Bases: object

classmethod Double.add_to_schema(schema_entries)
classmethod Double.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Double.from_string(string)
classmethod Double.from_xml(element)
classmethod Double.get_namespace()
classmethod Double.get_namespace_prefix(app)
classmethod Double.get_restriction_tag(schema_entries)
classmethod Double.get_type_name()
classmethod Double.get_type_name_ns(app)
static Double.is_default()
static Double.resolve_namespace(default_ns)
classmethod Double.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Duration

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class Duration.Attributes

Bases: soaplib.core.model.base.Attributes

class Duration.Empty

Bases: object

classmethod Duration.add_to_schema(schema_entries)
classmethod Duration.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Duration.from_string(string)
classmethod Duration.from_xml(element)
classmethod Duration.get_namespace()
classmethod Duration.get_namespace_prefix(app)
classmethod Duration.get_restriction_tag(schema_entries)
classmethod Duration.get_type_name()
classmethod Duration.get_type_name_ns(app)
static Duration.is_default()
static Duration.resolve_namespace(default_ns)
classmethod Duration.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Float

Bases: soaplib.core.model.primitive.Double

class Annotations

Bases: object

class Float.Attributes

Bases: soaplib.core.model.base.Attributes

class Float.Empty

Bases: object

classmethod Float.add_to_schema(schema_entries)
classmethod Float.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Float.from_string(string)
classmethod Float.from_xml(element)
classmethod Float.get_namespace()
classmethod Float.get_namespace_prefix(app)
classmethod Float.get_restriction_tag(schema_entries)
classmethod Float.get_type_name()
classmethod Float.get_type_name_ns(app)
static Float.is_default()
static Float.resolve_namespace(default_ns)
classmethod Float.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Integer

Bases: soaplib.core.model.primitive.Decimal

class Annotations

Bases: object

class Integer.Attributes

Bases: soaplib.core.model.base.Attributes

class Integer.Empty

Bases: object

classmethod Integer.add_to_schema(schema_entries)
classmethod Integer.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Integer.from_string(string)
classmethod Integer.from_xml(element)
classmethod Integer.get_namespace()
classmethod Integer.get_namespace_prefix(app)
classmethod Integer.get_restriction_tag(schema_entries)
classmethod Integer.get_type_name()
classmethod Integer.get_type_name_ns(app)
static Integer.is_default()
static Integer.resolve_namespace(default_ns)
classmethod Integer.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.Mandatory

Bases: object

class Integer

Bases: soaplib.core.model.primitive.Decimal

class Annotations

Bases: soaplib.core.model.base.Annotations

class Mandatory.Integer.Attributes

Bases: soaplib.core.model.base.Attributes

class Mandatory.Integer.Empty

Bases: object

classmethod Mandatory.Integer.add_to_schema(schema_entries)
classmethod Mandatory.Integer.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Mandatory.Integer.from_string(string)
classmethod Mandatory.Integer.from_xml(element)
classmethod Mandatory.Integer.get_namespace()
classmethod Mandatory.Integer.get_namespace_prefix(app)
classmethod Mandatory.Integer.get_restriction_tag(schema_entries)
classmethod Mandatory.Integer.get_type_name()
classmethod Mandatory.Integer.get_type_name_ns(app)
static Mandatory.Integer.is_default()
static Mandatory.Integer.resolve_namespace(default_ns)
classmethod Mandatory.Integer.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class Mandatory.String

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: soaplib.core.model.base.Annotations

class Mandatory.String.Attributes

Bases: soaplib.core.model.primitive.Attributes

class Mandatory.String.Empty

Bases: object

classmethod Mandatory.String.add_to_schema(schema_entries)
classmethod Mandatory.String.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod Mandatory.String.from_string(string)
classmethod Mandatory.String.from_xml(element)
classmethod Mandatory.String.get_namespace()
classmethod Mandatory.String.get_namespace_prefix(app)
classmethod Mandatory.String.get_restriction_tag(schema_entries)
classmethod Mandatory.String.get_type_name()
classmethod Mandatory.String.get_type_name_ns(app)
static Mandatory.String.is_default()
static Mandatory.String.resolve_namespace(default_ns)
classmethod Mandatory.String.to_parent_element(value, tns, parent_elt, *args, **kwargs)
class soaplib.core.model.primitive.String

Bases: soaplib.core.model.base.SimpleType

class Annotations

Bases: object

class String.Attributes

Bases: soaplib.core.model.base.Attributes

class String.Empty

Bases: object

classmethod String.add_to_schema(schema_entries)
classmethod String.customize(**kwargs)

This function duplicates and customizes the class it belongs to. The original class remains unchanged. This is an ugly hack. If you know better, let us know.

classmethod String.from_string(string)
classmethod String.from_xml(element)
classmethod String.get_namespace()
classmethod String.get_namespace_prefix(app)
classmethod String.get_restriction_tag(schema_entries)
classmethod String.get_type_name()
classmethod String.get_type_name_ns(app)
static String.is_default()
static String.resolve_namespace(default_ns)
classmethod String.to_parent_element(value, tns, parent_elt, *args, **kwargs)

Table