ACSError.ACSError
index
/alma/ACS-2016.6/ACSSW/lib/python/site-packages/ACSError/ACSError.py

# ../lib/python/site-packages/ACSError/ACSError.py
# PyXB bindings for NamespaceModule
# NSM:2b873e8b1cd6d2aee0c5c0d315f144dec879530a
# Generated 2016-06-22 08:47:09.747458 by PyXB version 1.1.2

 
Modules
       
StringIO
commontypes
pyxb
sys

 
Classes
       
pyxb.binding.basis.complexTypeDefinition(pyxb.binding.basis._TypeBinding_mixin, pyxb.utils.utility._DeconflictSymbols_mixin, pyxb.binding.basis._DynamicCreate_mixin)
CTD_ANON
CTD_ANON_
CTD_ANON_2
pyxb.binding.datatypes.int(pyxb.binding.basis.simpleTypeDefinition, __builtin__.int)
ErrorCode
pyxb.binding.datatypes.nonNegativeInteger(pyxb.binding.datatypes.integer)
ErrorType

 
class CTD_ANON(pyxb.binding.basis.complexTypeDefinition)
    # Complex type CTD_ANON with content type ELEMENT_ONLY
 
 
Method resolution order:
CTD_ANON
pyxb.binding.basis.complexTypeDefinition
pyxb.binding.basis._TypeBinding_mixin
pyxb.utils.utility.Locatable_mixin
pyxb.utils.utility._DeconflictSymbols_mixin
pyxb.binding.basis._DynamicCreate_mixin
pyxb.cscRoot
__builtin__.object

Data descriptors defined here:
Code
Here are the definitions for an ACSCompletion.
ErrorCode
Here are the definitions for an ACSException.
URL
Get the value of the attribute from the instance.
description
Get the value of the attribute from the instance.
name
Get the value of the attribute from the instance.
prefix
Get the value of the attribute from the instance.
shortDescription
Get the value of the attribute from the instance.
type
Get the value of the attribute from the instance.

Methods inherited from pyxb.binding.basis.complexTypeDefinition:
__init__(self, *args, **kw)
Create a new instance of this binding.
 
Arguments are used as transition values along the content model.
Keywords are passed to the constructor of any simple content, or used
to initialize attribute and element values whose L{id
<content.ElementUse.id>} (not L{name <content.ElementUse.name>})
matches the keyword.
 
@keyword _dom_node: The node to use as the source of binding content.
@type _dom_node: C{xml.dom.Element}
append(self, value, element_use=None, maybe_element=True, _fallback_namespace=None, require_validation=True)
Add the value to the instance.
 
The value should be a DOM node or other value that is or can be
converted to a binding instance.  If the instance has a DFA state, the
value must be permitted by the content model.
 
@raise pyxb.ExtraContentError: the value is not permitted at the
current state of the content model.
content(self)
Return the content of the element.
 
This must be a complex type with complex content.  The return value is
a list of the element and non-element content in the order in which it
was added.
@raise pyxb.NotComplexContentError: this is not a complex type with mixed or element-only content
extend(self, value_list, _fallback_namespace=None)
Invoke L{append} for each value in the list, in turn.
reset(self)
Reset the instance.
 
This resets all element and attribute fields, and discards any
recorded content.  It resets the DFA to the initial state of the
content model.
value(self)
Return the value of the element.
 
This must be a complex type with simple content.  The returned value
is expected to be an instance of some L{simpleTypeDefinition} class.
 
@raise pyxb.NotSimpleContentError: this is not a complex type with simple content
wildcardAttributeMap(self)
Obtain access to wildcard attributes.
 
The return value is C{None} if this type does not support wildcard
attributes.  If wildcard attributes are allowed, the return value is a
map from QNames to the unicode string value of the corresponding
attribute.
 
@todo: The map keys should be namespace extended names rather than
QNames, as the in-scope namespace may not be readily available to the
user.
wildcardElements(self)
Obtain access to wildcard elements.
 
The return value is C{None} if the content model for this type does not
support wildcard elements.  If wildcard elements are allowed, the
return value is a list of values corresponding to conformant
unrecognized elements, in the order in which they were encountered.
If the containing binding was created from an XML document and enough
information was present to determine the binding of the member
element, the value is a binding instance.  Otherwise, the value is the
original DOM Element node.
xsdConstraintsOK(self)
Validate the content against the simple type.
 
@return: C{True} if the content validates against its type.
@raise pyxb.NotSimpleContentError: this type does not have simple content.
@raise pyxb.MissingContentError: the content of this type has not been set

Methods inherited from pyxb.binding.basis._TypeBinding_mixin:
__setattr__(self, name, value)
toDOM(self, bds=None, parent=None, element_name=None)
Convert this instance to a DOM node.
 
The name of the top-level element is either the name of the L{element}
instance associated with this instance, or the XML name of the type of
this instance.
 
@param bds: Support for customizing the generated document
@type bds: L{pyxb.utils.domutils.BindingDOMSupport}
@param parent: If C{None}, a standalone document is created;
otherwise, the created element is a child of the given element.
@type parent: C{xml.dom.Element} or C{None}
@rtype: C{xml.dom.Document}
toxml(self, bds=None, root_only=False)
Shorthand to get the object as an XML document.
 
If you want to set the default namespace, pass in a pre-configured
C{bds}.
 
@param bds: Optional L{pyxb.utils.domutils.BindingDOMSupport} instance
to use for creation. If not provided (default), a new generic one is
created.
validateBinding(self)
Check whether the binding content matches its content model.
 
@return: C{True} if validation succeeds.
@raise pyxb.BindingValidationError: complex content does not match model
@raise pyxb.BadTypeValueError: simple content fails to satisfy constraints

Class methods inherited from pyxb.binding.basis._TypeBinding_mixin:
Factory(cls, *args, **kw) from __builtin__.type
Provide a common mechanism to create new instances of this type.
 
The class constructor won't do, because you can't create
instances of union types.
 
This method may be overridden in subclasses (like STD_union).  Pre-
and post-creation actions can be customized on a per-class instance by
overriding the L{_PreFactory_vx} and L{_postFactory_vx} methods.
 
@keyword _dom_node: If provided, the value must be a DOM node, the
content of which will be used to set the value of the instance.
 
@keyword _apply_whitespace_facet: If C{True} and this is a
simpleTypeDefinition with a whiteSpace facet, the first argument will
be normalized in accordance with that facet prior to invoking the
parent constructor.
 
@keyword _validate_constraints: If C{True}, any constructed value is
checked against constraints applied to the union as well as the member
type.
 
@keyword _require_value: If C{False} (default), it is permitted to
create a value without an initial value.  If C{True} and no initial
value was provided, causes L{pyxb.MissingContentError} to be raised.
Only applies to simpleTypeDefinition instances; this is used when
creating values from DOM nodes.

Data descriptors inherited from pyxb.utils.utility._DeconflictSymbols_mixin:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class CTD_ANON_(pyxb.binding.basis.complexTypeDefinition)
    # Complex type CTD_ANON_ with content type ELEMENT_ONLY
 
 
Method resolution order:
CTD_ANON_
pyxb.binding.basis.complexTypeDefinition
pyxb.binding.basis._TypeBinding_mixin
pyxb.utils.utility.Locatable_mixin
pyxb.utils.utility._DeconflictSymbols_mixin
pyxb.binding.basis._DynamicCreate_mixin
pyxb.cscRoot
__builtin__.object

Data descriptors defined here:
Member
Return the value for this use within the given instance.
URL
Get the value of the attribute from the instance.
description
Get the value of the attribute from the instance.
name
Get the value of the attribute from the instance.
shortDescription
Get the value of the attribute from the instance.
suppressExceptionGeneration
Get the value of the attribute from the instance.

Methods inherited from pyxb.binding.basis.complexTypeDefinition:
__init__(self, *args, **kw)
Create a new instance of this binding.
 
Arguments are used as transition values along the content model.
Keywords are passed to the constructor of any simple content, or used
to initialize attribute and element values whose L{id
<content.ElementUse.id>} (not L{name <content.ElementUse.name>})
matches the keyword.
 
@keyword _dom_node: The node to use as the source of binding content.
@type _dom_node: C{xml.dom.Element}
append(self, value, element_use=None, maybe_element=True, _fallback_namespace=None, require_validation=True)
Add the value to the instance.
 
The value should be a DOM node or other value that is or can be
converted to a binding instance.  If the instance has a DFA state, the
value must be permitted by the content model.
 
@raise pyxb.ExtraContentError: the value is not permitted at the
current state of the content model.
content(self)
Return the content of the element.
 
This must be a complex type with complex content.  The return value is
a list of the element and non-element content in the order in which it
was added.
@raise pyxb.NotComplexContentError: this is not a complex type with mixed or element-only content
extend(self, value_list, _fallback_namespace=None)
Invoke L{append} for each value in the list, in turn.
reset(self)
Reset the instance.
 
This resets all element and attribute fields, and discards any
recorded content.  It resets the DFA to the initial state of the
content model.
value(self)
Return the value of the element.
 
This must be a complex type with simple content.  The returned value
is expected to be an instance of some L{simpleTypeDefinition} class.
 
@raise pyxb.NotSimpleContentError: this is not a complex type with simple content
wildcardAttributeMap(self)
Obtain access to wildcard attributes.
 
The return value is C{None} if this type does not support wildcard
attributes.  If wildcard attributes are allowed, the return value is a
map from QNames to the unicode string value of the corresponding
attribute.
 
@todo: The map keys should be namespace extended names rather than
QNames, as the in-scope namespace may not be readily available to the
user.
wildcardElements(self)
Obtain access to wildcard elements.
 
The return value is C{None} if the content model for this type does not
support wildcard elements.  If wildcard elements are allowed, the
return value is a list of values corresponding to conformant
unrecognized elements, in the order in which they were encountered.
If the containing binding was created from an XML document and enough
information was present to determine the binding of the member
element, the value is a binding instance.  Otherwise, the value is the
original DOM Element node.
xsdConstraintsOK(self)
Validate the content against the simple type.
 
@return: C{True} if the content validates against its type.
@raise pyxb.NotSimpleContentError: this type does not have simple content.
@raise pyxb.MissingContentError: the content of this type has not been set

Methods inherited from pyxb.binding.basis._TypeBinding_mixin:
__setattr__(self, name, value)
toDOM(self, bds=None, parent=None, element_name=None)
Convert this instance to a DOM node.
 
The name of the top-level element is either the name of the L{element}
instance associated with this instance, or the XML name of the type of
this instance.
 
@param bds: Support for customizing the generated document
@type bds: L{pyxb.utils.domutils.BindingDOMSupport}
@param parent: If C{None}, a standalone document is created;
otherwise, the created element is a child of the given element.
@type parent: C{xml.dom.Element} or C{None}
@rtype: C{xml.dom.Document}
toxml(self, bds=None, root_only=False)
Shorthand to get the object as an XML document.
 
If you want to set the default namespace, pass in a pre-configured
C{bds}.
 
@param bds: Optional L{pyxb.utils.domutils.BindingDOMSupport} instance
to use for creation. If not provided (default), a new generic one is
created.
validateBinding(self)
Check whether the binding content matches its content model.
 
@return: C{True} if validation succeeds.
@raise pyxb.BindingValidationError: complex content does not match model
@raise pyxb.BadTypeValueError: simple content fails to satisfy constraints

Class methods inherited from pyxb.binding.basis._TypeBinding_mixin:
Factory(cls, *args, **kw) from __builtin__.type
Provide a common mechanism to create new instances of this type.
 
The class constructor won't do, because you can't create
instances of union types.
 
This method may be overridden in subclasses (like STD_union).  Pre-
and post-creation actions can be customized on a per-class instance by
overriding the L{_PreFactory_vx} and L{_postFactory_vx} methods.
 
@keyword _dom_node: If provided, the value must be a DOM node, the
content of which will be used to set the value of the instance.
 
@keyword _apply_whitespace_facet: If C{True} and this is a
simpleTypeDefinition with a whiteSpace facet, the first argument will
be normalized in accordance with that facet prior to invoking the
parent constructor.
 
@keyword _validate_constraints: If C{True}, any constructed value is
checked against constraints applied to the union as well as the member
type.
 
@keyword _require_value: If C{False} (default), it is permitted to
create a value without an initial value.  If C{True} and no initial
value was provided, causes L{pyxb.MissingContentError} to be raised.
Only applies to simpleTypeDefinition instances; this is used when
creating values from DOM nodes.

Data descriptors inherited from pyxb.utils.utility._DeconflictSymbols_mixin:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class CTD_ANON_2(pyxb.binding.basis.complexTypeDefinition)
    # Complex type CTD_ANON_2 with content type EMPTY
 
 
Method resolution order:
CTD_ANON_2
pyxb.binding.basis.complexTypeDefinition
pyxb.binding.basis._TypeBinding_mixin
pyxb.utils.utility.Locatable_mixin
pyxb.utils.utility._DeconflictSymbols_mixin
pyxb.binding.basis._DynamicCreate_mixin
pyxb.cscRoot
__builtin__.object

Data descriptors defined here:
URL
Get the value of the attribute from the instance.
description
Get the value of the attribute from the instance.
name
Get the value of the attribute from the instance.
shortDescription
Get the value of the attribute from the instance.

Methods inherited from pyxb.binding.basis.complexTypeDefinition:
__init__(self, *args, **kw)
Create a new instance of this binding.
 
Arguments are used as transition values along the content model.
Keywords are passed to the constructor of any simple content, or used
to initialize attribute and element values whose L{id
<content.ElementUse.id>} (not L{name <content.ElementUse.name>})
matches the keyword.
 
@keyword _dom_node: The node to use as the source of binding content.
@type _dom_node: C{xml.dom.Element}
append(self, value, element_use=None, maybe_element=True, _fallback_namespace=None, require_validation=True)
Add the value to the instance.
 
The value should be a DOM node or other value that is or can be
converted to a binding instance.  If the instance has a DFA state, the
value must be permitted by the content model.
 
@raise pyxb.ExtraContentError: the value is not permitted at the
current state of the content model.
content(self)
Return the content of the element.
 
This must be a complex type with complex content.  The return value is
a list of the element and non-element content in the order in which it
was added.
@raise pyxb.NotComplexContentError: this is not a complex type with mixed or element-only content
extend(self, value_list, _fallback_namespace=None)
Invoke L{append} for each value in the list, in turn.
reset(self)
Reset the instance.
 
This resets all element and attribute fields, and discards any
recorded content.  It resets the DFA to the initial state of the
content model.
value(self)
Return the value of the element.
 
This must be a complex type with simple content.  The returned value
is expected to be an instance of some L{simpleTypeDefinition} class.
 
@raise pyxb.NotSimpleContentError: this is not a complex type with simple content
wildcardAttributeMap(self)
Obtain access to wildcard attributes.
 
The return value is C{None} if this type does not support wildcard
attributes.  If wildcard attributes are allowed, the return value is a
map from QNames to the unicode string value of the corresponding
attribute.
 
@todo: The map keys should be namespace extended names rather than
QNames, as the in-scope namespace may not be readily available to the
user.
wildcardElements(self)
Obtain access to wildcard elements.
 
The return value is C{None} if the content model for this type does not
support wildcard elements.  If wildcard elements are allowed, the
return value is a list of values corresponding to conformant
unrecognized elements, in the order in which they were encountered.
If the containing binding was created from an XML document and enough
information was present to determine the binding of the member
element, the value is a binding instance.  Otherwise, the value is the
original DOM Element node.
xsdConstraintsOK(self)
Validate the content against the simple type.
 
@return: C{True} if the content validates against its type.
@raise pyxb.NotSimpleContentError: this type does not have simple content.
@raise pyxb.MissingContentError: the content of this type has not been set

Methods inherited from pyxb.binding.basis._TypeBinding_mixin:
__setattr__(self, name, value)
toDOM(self, bds=None, parent=None, element_name=None)
Convert this instance to a DOM node.
 
The name of the top-level element is either the name of the L{element}
instance associated with this instance, or the XML name of the type of
this instance.
 
@param bds: Support for customizing the generated document
@type bds: L{pyxb.utils.domutils.BindingDOMSupport}
@param parent: If C{None}, a standalone document is created;
otherwise, the created element is a child of the given element.
@type parent: C{xml.dom.Element} or C{None}
@rtype: C{xml.dom.Document}
toxml(self, bds=None, root_only=False)
Shorthand to get the object as an XML document.
 
If you want to set the default namespace, pass in a pre-configured
C{bds}.
 
@param bds: Optional L{pyxb.utils.domutils.BindingDOMSupport} instance
to use for creation. If not provided (default), a new generic one is
created.
validateBinding(self)
Check whether the binding content matches its content model.
 
@return: C{True} if validation succeeds.
@raise pyxb.BindingValidationError: complex content does not match model
@raise pyxb.BadTypeValueError: simple content fails to satisfy constraints

Class methods inherited from pyxb.binding.basis._TypeBinding_mixin:
Factory(cls, *args, **kw) from __builtin__.type
Provide a common mechanism to create new instances of this type.
 
The class constructor won't do, because you can't create
instances of union types.
 
This method may be overridden in subclasses (like STD_union).  Pre-
and post-creation actions can be customized on a per-class instance by
overriding the L{_PreFactory_vx} and L{_postFactory_vx} methods.
 
@keyword _dom_node: If provided, the value must be a DOM node, the
content of which will be used to set the value of the instance.
 
@keyword _apply_whitespace_facet: If C{True} and this is a
simpleTypeDefinition with a whiteSpace facet, the first argument will
be normalized in accordance with that facet prior to invoking the
parent constructor.
 
@keyword _validate_constraints: If C{True}, any constructed value is
checked against constraints applied to the union as well as the member
type.
 
@keyword _require_value: If C{False} (default), it is permitted to
create a value without an initial value.  If C{True} and no initial
value was provided, causes L{pyxb.MissingContentError} to be raised.
Only applies to simpleTypeDefinition instances; this is used when
creating values from DOM nodes.

Data descriptors inherited from pyxb.utils.utility._DeconflictSymbols_mixin:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class ErrorCode(pyxb.binding.datatypes.int)
    Not used. Check if it can be removed.
 
 
Method resolution order:
ErrorCode
pyxb.binding.datatypes.int
pyxb.binding.basis.simpleTypeDefinition
pyxb.binding.basis._TypeBinding_mixin
pyxb.utils.utility.Locatable_mixin
pyxb.utils.utility._DeconflictSymbols_mixin
pyxb.binding.basis._DynamicCreate_mixin
pyxb.cscRoot
__builtin__.int
__builtin__.object

Class methods inherited from pyxb.binding.datatypes.int:
XsdLiteral(cls, value) from __builtin__.type

Data descriptors inherited from pyxb.binding.datatypes.int:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from pyxb.binding.basis.simpleTypeDefinition:
__init__(self, *args, **kw)
Initialize a newly created STD instance.
 
Usually there is one positional argument, which is a value that can be
converted to the underlying Python type.
 
@keyword _validate_constraints: If True (default), the newly
constructed value is checked against its constraining facets.
@type _validate_constraints: C{bool}
pythonLiteral(self)
Return a string which can be embedded into Python source to
represent the value of this instance.
xsdConstraintsOK(self)
Validate the value of this instance against its constraints.
xsdLiteral(self)
Return text suitable for representing the value of this
instance in an XML document.
 
The base class implementation delegates to the object class's
XsdLiteral method.
xsdValueLength(self)
Return the length of this instance within its value space.
 
See XsdValueLength.

Class methods inherited from pyxb.binding.basis.simpleTypeDefinition:
PythonLiteral(cls, value) from __builtin__.type
Return a string which can be embedded into Python source to
represent the given value as an instance of this class.
SimpleTypeDefinition(cls) from __builtin__.type
Return the SimpleTypeDefinition instance for the given
class.
 
This should only be invoked when generating bindings.
 
@raise pyxb.IncompleteImplementationError: no STD instance has been
associated with the class.
XsdConstraintsOK(cls, value) from __builtin__.type
Validate the given value against the constraints on this class.
 
@raise pyxb.BadTypeValueError: if any constraint is violated.
XsdSuperType(cls) from __builtin__.type
Find the nearest parent class in the PST hierarchy.
 
The value for anySimpleType is None; for all others, it's a
primitive or derived PST descendent (including anySimpleType).
XsdValueLength(cls, value) from __builtin__.type
Return the length of the given value.
 
The length is calculated by a subclass implementation of
_XsdValueLength_vx in accordance with
http://www.w3.org/TR/xmlschema-2/#rf-length.
 
The return value is a non-negative integer, or C{None} if length
constraints should be considered trivially satisfied (as with
QName and NOTATION).
 
:raise pyxb.LogicError: the provided value is not an instance of cls.
:raise pyxb.LogicError: an attempt is made to calculate a length for
an instance of a type that does not support length calculations.

Static methods inherited from pyxb.binding.basis.simpleTypeDefinition:
__new__(cls, *args, **kw)
# Must override new, because new gets invoked before init, and usually
# doesn't accept keywords.  In case it does (e.g., datetime.datetime),
# only remove the ones that would normally be interpreted by this class.
# Do the same argument conversion as is done in init.  Trap errors and
# convert them to BadTypeValue errors.
#
# Note: We explicitly do not validate constraints here.  That's
# done in the normal constructor; here, we might be in the process
# of building a value that eventually will be legal, but isn't
# yet.

Methods inherited from pyxb.binding.basis._TypeBinding_mixin:
__setattr__(self, name, value)
toDOM(self, bds=None, parent=None, element_name=None)
Convert this instance to a DOM node.
 
The name of the top-level element is either the name of the L{element}
instance associated with this instance, or the XML name of the type of
this instance.
 
@param bds: Support for customizing the generated document
@type bds: L{pyxb.utils.domutils.BindingDOMSupport}
@param parent: If C{None}, a standalone document is created;
otherwise, the created element is a child of the given element.
@type parent: C{xml.dom.Element} or C{None}
@rtype: C{xml.dom.Document}
toxml(self, bds=None, root_only=False)
Shorthand to get the object as an XML document.
 
If you want to set the default namespace, pass in a pre-configured
C{bds}.
 
@param bds: Optional L{pyxb.utils.domutils.BindingDOMSupport} instance
to use for creation. If not provided (default), a new generic one is
created.
validateBinding(self)
Check whether the binding content matches its content model.
 
@return: C{True} if validation succeeds.
@raise pyxb.BindingValidationError: complex content does not match model
@raise pyxb.BadTypeValueError: simple content fails to satisfy constraints

Class methods inherited from pyxb.binding.basis._TypeBinding_mixin:
Factory(cls, *args, **kw) from __builtin__.type
Provide a common mechanism to create new instances of this type.
 
The class constructor won't do, because you can't create
instances of union types.
 
This method may be overridden in subclasses (like STD_union).  Pre-
and post-creation actions can be customized on a per-class instance by
overriding the L{_PreFactory_vx} and L{_postFactory_vx} methods.
 
@keyword _dom_node: If provided, the value must be a DOM node, the
content of which will be used to set the value of the instance.
 
@keyword _apply_whitespace_facet: If C{True} and this is a
simpleTypeDefinition with a whiteSpace facet, the first argument will
be normalized in accordance with that facet prior to invoking the
parent constructor.
 
@keyword _validate_constraints: If C{True}, any constructed value is
checked against constraints applied to the union as well as the member
type.
 
@keyword _require_value: If C{False} (default), it is permitted to
create a value without an initial value.  If C{True} and no initial
value was provided, causes L{pyxb.MissingContentError} to be raised.
Only applies to simpleTypeDefinition instances; this is used when
creating values from DOM nodes.

Methods inherited from __builtin__.int:
__abs__(...)
x.__abs__() <==> abs(x)
__add__(...)
x.__add__(y) <==> x+y
__and__(...)
x.__and__(y) <==> x&y
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__coerce__(...)
x.__coerce__(y) <==> coerce(x, y)
__div__(...)
x.__div__(y) <==> x/y
__divmod__(...)
x.__divmod__(y) <==> divmod(x, y)
__float__(...)
x.__float__() <==> float(x)
__floordiv__(...)
x.__floordiv__(y) <==> x//y
__format__(...)
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getnewargs__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__hex__(...)
x.__hex__() <==> hex(x)
__index__(...)
x[y:z] <==> x[y.__index__():z.__index__()]
__int__(...)
x.__int__() <==> int(x)
__invert__(...)
x.__invert__() <==> ~x
__long__(...)
x.__long__() <==> long(x)
__lshift__(...)
x.__lshift__(y) <==> x<<y
__mod__(...)
x.__mod__(y) <==> x%y
__mul__(...)
x.__mul__(y) <==> x*y
__neg__(...)
x.__neg__() <==> -x
__nonzero__(...)
x.__nonzero__() <==> x != 0
__oct__(...)
x.__oct__() <==> oct(x)
__or__(...)
x.__or__(y) <==> x|y
__pos__(...)
x.__pos__() <==> +x
__pow__(...)
x.__pow__(y[, z]) <==> pow(x, y[, z])
__radd__(...)
x.__radd__(y) <==> y+x
__rand__(...)
x.__rand__(y) <==> y&x
__rdiv__(...)
x.__rdiv__(y) <==> y/x
__rdivmod__(...)
x.__rdivmod__(y) <==> divmod(y, x)
__repr__(...)
x.__repr__() <==> repr(x)
__rfloordiv__(...)
x.__rfloordiv__(y) <==> y//x
__rlshift__(...)
x.__rlshift__(y) <==> y<<x
__rmod__(...)
x.__rmod__(y) <==> y%x
__rmul__(...)
x.__rmul__(y) <==> y*x
__ror__(...)
x.__ror__(y) <==> y|x
__rpow__(...)
y.__rpow__(x[, z]) <==> pow(x, y[, z])
__rrshift__(...)
x.__rrshift__(y) <==> y>>x
__rshift__(...)
x.__rshift__(y) <==> x>>y
__rsub__(...)
x.__rsub__(y) <==> y-x
__rtruediv__(...)
x.__rtruediv__(y) <==> y/x
__rxor__(...)
x.__rxor__(y) <==> y^x
__str__(...)
x.__str__() <==> str(x)
__sub__(...)
x.__sub__(y) <==> x-y
__truediv__(...)
x.__truediv__(y) <==> x/y
__trunc__(...)
Truncating an Integral returns itself.
__xor__(...)
x.__xor__(y) <==> x^y
bit_length(...)
int.bit_length() -> int
 
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
conjugate(...)
Returns self, the complex conjugate of any int.

Data descriptors inherited from __builtin__.int:
denominator
the denominator of a rational number in lowest terms
imag
the imaginary part of a complex number
numerator
the numerator of a rational number in lowest terms
real
the real part of a complex number

 
class ErrorType(pyxb.binding.datatypes.nonNegativeInteger)
    Just a non negative integer used at the type definition.
 
 
Method resolution order:
ErrorType
pyxb.binding.datatypes.nonNegativeInteger
pyxb.binding.datatypes.integer
pyxb.binding.basis.simpleTypeDefinition
pyxb.binding.basis._TypeBinding_mixin
pyxb.utils.utility.Locatable_mixin
pyxb.utils.utility._DeconflictSymbols_mixin
pyxb.binding.basis._DynamicCreate_mixin
pyxb.cscRoot
__builtin__.long
__builtin__.object

Class methods inherited from pyxb.binding.datatypes.integer:
XsdLiteral(cls, value) from __builtin__.type

Data descriptors inherited from pyxb.binding.datatypes.integer:
__dict__
dictionary for instance variables (if defined)

Methods inherited from pyxb.binding.basis.simpleTypeDefinition:
__init__(self, *args, **kw)
Initialize a newly created STD instance.
 
Usually there is one positional argument, which is a value that can be
converted to the underlying Python type.
 
@keyword _validate_constraints: If True (default), the newly
constructed value is checked against its constraining facets.
@type _validate_constraints: C{bool}
pythonLiteral(self)
Return a string which can be embedded into Python source to
represent the value of this instance.
xsdConstraintsOK(self)
Validate the value of this instance against its constraints.
xsdLiteral(self)
Return text suitable for representing the value of this
instance in an XML document.
 
The base class implementation delegates to the object class's
XsdLiteral method.
xsdValueLength(self)
Return the length of this instance within its value space.
 
See XsdValueLength.

Class methods inherited from pyxb.binding.basis.simpleTypeDefinition:
PythonLiteral(cls, value) from __builtin__.type
Return a string which can be embedded into Python source to
represent the given value as an instance of this class.
SimpleTypeDefinition(cls) from __builtin__.type
Return the SimpleTypeDefinition instance for the given
class.
 
This should only be invoked when generating bindings.
 
@raise pyxb.IncompleteImplementationError: no STD instance has been
associated with the class.
XsdConstraintsOK(cls, value) from __builtin__.type
Validate the given value against the constraints on this class.
 
@raise pyxb.BadTypeValueError: if any constraint is violated.
XsdSuperType(cls) from __builtin__.type
Find the nearest parent class in the PST hierarchy.
 
The value for anySimpleType is None; for all others, it's a
primitive or derived PST descendent (including anySimpleType).
XsdValueLength(cls, value) from __builtin__.type
Return the length of the given value.
 
The length is calculated by a subclass implementation of
_XsdValueLength_vx in accordance with
http://www.w3.org/TR/xmlschema-2/#rf-length.
 
The return value is a non-negative integer, or C{None} if length
constraints should be considered trivially satisfied (as with
QName and NOTATION).
 
:raise pyxb.LogicError: the provided value is not an instance of cls.
:raise pyxb.LogicError: an attempt is made to calculate a length for
an instance of a type that does not support length calculations.

Static methods inherited from pyxb.binding.basis.simpleTypeDefinition:
__new__(cls, *args, **kw)
# Must override new, because new gets invoked before init, and usually
# doesn't accept keywords.  In case it does (e.g., datetime.datetime),
# only remove the ones that would normally be interpreted by this class.
# Do the same argument conversion as is done in init.  Trap errors and
# convert them to BadTypeValue errors.
#
# Note: We explicitly do not validate constraints here.  That's
# done in the normal constructor; here, we might be in the process
# of building a value that eventually will be legal, but isn't
# yet.

Methods inherited from pyxb.binding.basis._TypeBinding_mixin:
__setattr__(self, name, value)
toDOM(self, bds=None, parent=None, element_name=None)
Convert this instance to a DOM node.
 
The name of the top-level element is either the name of the L{element}
instance associated with this instance, or the XML name of the type of
this instance.
 
@param bds: Support for customizing the generated document
@type bds: L{pyxb.utils.domutils.BindingDOMSupport}
@param parent: If C{None}, a standalone document is created;
otherwise, the created element is a child of the given element.
@type parent: C{xml.dom.Element} or C{None}
@rtype: C{xml.dom.Document}
toxml(self, bds=None, root_only=False)
Shorthand to get the object as an XML document.
 
If you want to set the default namespace, pass in a pre-configured
C{bds}.
 
@param bds: Optional L{pyxb.utils.domutils.BindingDOMSupport} instance
to use for creation. If not provided (default), a new generic one is
created.
validateBinding(self)
Check whether the binding content matches its content model.
 
@return: C{True} if validation succeeds.
@raise pyxb.BindingValidationError: complex content does not match model
@raise pyxb.BadTypeValueError: simple content fails to satisfy constraints

Class methods inherited from pyxb.binding.basis._TypeBinding_mixin:
Factory(cls, *args, **kw) from __builtin__.type
Provide a common mechanism to create new instances of this type.
 
The class constructor won't do, because you can't create
instances of union types.
 
This method may be overridden in subclasses (like STD_union).  Pre-
and post-creation actions can be customized on a per-class instance by
overriding the L{_PreFactory_vx} and L{_postFactory_vx} methods.
 
@keyword _dom_node: If provided, the value must be a DOM node, the
content of which will be used to set the value of the instance.
 
@keyword _apply_whitespace_facet: If C{True} and this is a
simpleTypeDefinition with a whiteSpace facet, the first argument will
be normalized in accordance with that facet prior to invoking the
parent constructor.
 
@keyword _validate_constraints: If C{True}, any constructed value is
checked against constraints applied to the union as well as the member
type.
 
@keyword _require_value: If C{False} (default), it is permitted to
create a value without an initial value.  If C{True} and no initial
value was provided, causes L{pyxb.MissingContentError} to be raised.
Only applies to simpleTypeDefinition instances; this is used when
creating values from DOM nodes.

Data descriptors inherited from pyxb.utils.utility._DeconflictSymbols_mixin:
__weakref__
list of weak references to the object (if defined)

Methods inherited from __builtin__.long:
__abs__(...)
x.__abs__() <==> abs(x)
__add__(...)
x.__add__(y) <==> x+y
__and__(...)
x.__and__(y) <==> x&y
__cmp__(...)
x.__cmp__(y) <==> cmp(x,y)
__coerce__(...)
x.__coerce__(y) <==> coerce(x, y)
__div__(...)
x.__div__(y) <==> x/y
__divmod__(...)
x.__divmod__(y) <==> divmod(x, y)
__float__(...)
x.__float__() <==> float(x)
__floordiv__(...)
x.__floordiv__(y) <==> x//y
__format__(...)
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getnewargs__(...)
__hash__(...)
x.__hash__() <==> hash(x)
__hex__(...)
x.__hex__() <==> hex(x)
__index__(...)
x[y:z] <==> x[y.__index__():z.__index__()]
__int__(...)
x.__int__() <==> int(x)
__invert__(...)
x.__invert__() <==> ~x
__long__(...)
x.__long__() <==> long(x)
__lshift__(...)
x.__lshift__(y) <==> x<<y
__mod__(...)
x.__mod__(y) <==> x%y
__mul__(...)
x.__mul__(y) <==> x*y
__neg__(...)
x.__neg__() <==> -x
__nonzero__(...)
x.__nonzero__() <==> x != 0
__oct__(...)
x.__oct__() <==> oct(x)
__or__(...)
x.__or__(y) <==> x|y
__pos__(...)
x.__pos__() <==> +x
__pow__(...)
x.__pow__(y[, z]) <==> pow(x, y[, z])
__radd__(...)
x.__radd__(y) <==> y+x
__rand__(...)
x.__rand__(y) <==> y&x
__rdiv__(...)
x.__rdiv__(y) <==> y/x
__rdivmod__(...)
x.__rdivmod__(y) <==> divmod(y, x)
__repr__(...)
x.__repr__() <==> repr(x)
__rfloordiv__(...)
x.__rfloordiv__(y) <==> y//x
__rlshift__(...)
x.__rlshift__(y) <==> y<<x
__rmod__(...)
x.__rmod__(y) <==> y%x
__rmul__(...)
x.__rmul__(y) <==> y*x
__ror__(...)
x.__ror__(y) <==> y|x
__rpow__(...)
y.__rpow__(x[, z]) <==> pow(x, y[, z])
__rrshift__(...)
x.__rrshift__(y) <==> y>>x
__rshift__(...)
x.__rshift__(y) <==> x>>y
__rsub__(...)
x.__rsub__(y) <==> y-x
__rtruediv__(...)
x.__rtruediv__(y) <==> y/x
__rxor__(...)
x.__rxor__(y) <==> y^x
__sizeof__(...)
Returns size in memory, in bytes
__str__(...)
x.__str__() <==> str(x)
__sub__(...)
x.__sub__(y) <==> x-y
__truediv__(...)
x.__truediv__(y) <==> x/y
__trunc__(...)
Truncating an Integral returns itself.
__xor__(...)
x.__xor__(y) <==> x^y
bit_length(...)
long.bit_length() -> int or long
 
Number of bits necessary to represent self in binary.
>>> bin(37L)
'0b100101'
>>> (37L).bit_length()
6
conjugate(...)
Returns self, the complex conjugate of any long.

Data descriptors inherited from __builtin__.long:
denominator
the denominator of a rational number in lowest terms
imag
the imaginary part of a complex number
numerator
the numerator of a rational number in lowest terms
real
the real part of a complex number

 
Functions
       
CreateFromDOM(node, default_namespace=None)
Create a Python instance from the given DOM node.
The node tag must correspond to an element declaration in this module.
 
@deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}.
CreateFromDocument(xml_text, default_namespace=None, location_base=None)
Parse the given XML and use the document element to create a Python instance.

 
Data
        ModuleRecord = <pyxb.namespace.archive.ModuleRecord object>
Namespace = <pyxb.namespace.Namespace object>
Type = <pyxb.binding.basis.element object>