Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 31f25c3687ae280d7aae49073301a340 > files > 589

python3-pyxb-1.2.6-2.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>pyxb.xmlschema package &#8212; PyXB 1.2.6 documentation</title>
    
    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '1.2.6',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Maintainer Reference" href="maintref.html" />
    <link rel="prev" title="pyxb.utils package" href="pyxb.utils.html" /> 
  </head>
  <body role="document">
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="maintref.html" title="Maintainer Reference"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="pyxb.utils.html" title="pyxb.utils package"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">PyXB 1.2.6 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="pyxb.html" accesskey="U">pyxb package</a> &#187;</li>
    <li style="margin-left: 20px">PyXB hosted on <a href="http://sourceforge.net/projects/pyxb"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=263147&amp;type=9"
    width="80" height="15" alt="Get PyXB: Python XML Schema Bindings at SourceForge.net. Fast, secure and Free Open Source software downloads"/></a></li>
     

      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="pyxb-xmlschema-package">
<h1>pyxb.xmlschema package<a class="headerlink" href="#pyxb-xmlschema-package" title="Permalink to this headline">¶</a></h1>
<div class="section" id="submodules">
<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
</div>
<div class="section" id="module-pyxb.xmlschema.structures">
<span id="pyxb-xmlschema-structures-module"></span><h2>pyxb.xmlschema.structures module<a class="headerlink" href="#module-pyxb.xmlschema.structures" title="Permalink to this headline">¶</a></h2>
<p>Classes corresponding to W3C XML Schema components.</p>
<p>Class names and behavior should conform to the schema components described in
XML Schema Part 1: Structures&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/">http://www.w3.org/TR/xmlschema-1/</a>&gt;.
References to sections in the documentation of this module generally refers to
that document.</p>
<p>Each class has a <code class="xref py py-obj docutils literal"><span class="pre">CreateFromDOM</span></code> class method that creates an instance and
initializes it from a DOM node.  Only the <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a>, and
<a class="reference internal" href="#pyxb.xmlschema.structures.ModelGroup" title="pyxb.xmlschema.structures.ModelGroup"><code class="xref py py-obj docutils literal"><span class="pre">ModelGroup</span></code></a> components are created from non-DOM sources.  However, the
requirements on DOM interface are restricted to attributes, child nodes, and
basic fields, though all these must support namespaces.</p>
<p>&#64;group Mixins: <em>_mixin
&#64;group Ur Type Specializations: *UrType</em>
&#64;group Utilities: _ImportElementInformationItem</p>
<dl class="class">
<dt id="pyxb.xmlschema.structures.Annotation">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Annotation</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a></p>
<p>An XMLSchema Annotation&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAnnotation">http://www.w3.org/TR/xmlschema-1/#cAnnotation</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Annotation.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__RemoveMultiQuote_re">
<code class="descname">_Annotation__RemoveMultiQuote_re</code><em class="property"> = &lt;_sre.SRE_Pattern object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__RemoveMultiQuote_re" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__applicationInformation">
<code class="descname">_Annotation__applicationInformation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__applicationInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__attributes">
<code class="descname">_Annotation__attributes</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__attributes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Annotation._Annotation__userInformation">
<code class="descname">_Annotation__userInformation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation._Annotation__userInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.applicationInformation">
<code class="descname">applicationInformation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.applicationInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.asDocString">
<code class="descname">asDocString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.asDocString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the text in a form suitable for embedding in a
triple-double-quoted docstring.</p>
<p>Any sequence of two or more double quotes is replaced by a sequence of
single quotes that is the same length.  Following this, spaces are
added at the start and the end as necessary to ensure a double quote
does not appear in those positions.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.text">
<code class="descname">text</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.text" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Annotation.userInformation">
<code class="descname">userInformation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Annotation.userInformation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">AttributeDeclaration</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="pyxb.xmlschema.structures._ValueConstraint_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ValueConstraint_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin" title="pyxb.xmlschema.structures._ScopedDeclaration_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ScopedDeclaration_mixin</span></code></a></p>
<p>An XMLSchema Attribute Declaration&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAttribute_Declarations">http://www.w3.org/TR/xmlschema-1/#cAttribute_Declarations</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.CreateBaseInstance">
<em class="property">classmethod </em><code class="descname">CreateBaseInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>std=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.CreateBaseInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute declaration component for a specified namespace.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute declaration from the given DOM node.</p>
<p>wxs is a Schema instance within which the attribute is being
declared.</p>
<p>node is a DOM element.  The name must be one of ( &#8216;all&#8217;,
&#8216;choice&#8217;, &#8216;sequence&#8217; ), and the node must be in the XMLSchema
namespace.</p>
<p>scope is the _ScopeDeclaration_mxin context into which the
attribute declaration is placed.  It can be SCOPE_global, a
complex type definition, or XSCOPE_indeterminate if this is an
anonymous declaration within an attribute group.  It is a
required parameter for this function.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeDefinition">
<code class="descname">_AttributeDeclaration__typeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeExpandedName">
<code class="descname">_AttributeDeclaration__typeExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._AttributeDeclaration__typeExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Attribute declarations require their type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>This method is invoked only by Schema._addNamedComponent, and
then only when a built-in type collides with a schema-defined
type.  Material like facets is not (currently) held in the
built-in copy, so the DOM information is copied over to the
built-in STD, which is subsequently re-resolved.</p>
<p>Returns self.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeDeclaration.typeDefinition">
<code class="descname">typeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeDeclaration.typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The simple type definition to which an attribute value must
conform.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">AttributeGroupDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin" title="pyxb.xmlschema.structures._AttributeWildcard_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._AttributeWildcard_mixin</span></code></a></p>
<p>An XMLSchema Attribute Group Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAttribute_Group_Definitions">http://www.w3.org/TR/xmlschema-1/#cAttribute_Group_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.CreateBaseInstance">
<em class="property">classmethod </em><code class="descname">CreateBaseInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>attribute_uses</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.CreateBaseInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute declaration component for a specified namespace.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an attribute group definition from the given DOM node.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__PrivateTransient">
<code class="descname">_AttributeGroupDefinition__PrivateTransient</code><em class="property"> = set(['attributeGroupNames', 'anyAttribute'])</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__anyAttribute">
<code class="descname">_AttributeGroupDefinition__anyAttribute</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__anyAttribute" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeGroupNames">
<code class="descname">_AttributeGroupDefinition__attributeGroupNames</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeGroupNames" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeUses">
<code class="descname">_AttributeGroupDefinition__attributeUses</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__attributeUses" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__isResolved">
<code class="descname">_AttributeGroupDefinition__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._AttributeGroupDefinition__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Attribute group declarations require their uses, but only if lax.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.attributeUses">
<code class="descname">attributeUses</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.attributeUses" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeGroupDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeGroupDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.AttributeUse">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">AttributeUse</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="pyxb.xmlschema.structures._ValueConstraint_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ValueConstraint_mixin</span></code></a></p>
<p>An XMLSchema Attribute Use&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cAttribute_Use">http://www.w3.org/TR/xmlschema-1/#cAttribute_Use</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeUse.CreateBaseInstance">
<em class="property">classmethod </em><code class="descname">CreateBaseInstance</code><span class="sig-paren">(</span><em>schema</em>, <em>attribute_declaration</em>, <em>use=2</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.CreateBaseInstance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.AttributeUse.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an Attribute Use from the given DOM node.</p>
<p>wxs is a Schema instance within which the attribute use is
being defined.</p>
<p>node is a DOM element.  The name must be &#8216;attribute&#8217;, and the
node must be in the XMLSchema namespace.</p>
<p>scope is the _ScopeDeclaration_mixin context into which any
required anonymous attribute declaration is put.  This must be
a complex type definition, or None if this use is in an
attribute group.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse.USE_optional">
<code class="descname">USE_optional</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.USE_optional" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse.USE_prohibited">
<code class="descname">USE_prohibited</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.USE_prohibited" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse.USE_required">
<code class="descname">USE_required</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.USE_required" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__attributeDeclaration">
<code class="descname">_AttributeUse__attributeDeclaration</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__attributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__refExpandedName">
<code class="descname">_AttributeUse__refExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__refExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__restrictionOf">
<code class="descname">_AttributeUse__restrictionOf</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__restrictionOf" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.AttributeUse._AttributeUse__use">
<code class="descname">_AttributeUse__use</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._AttributeUse__use" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd><p>Adapt this instance for the given complex type.</p>
<p>If the attribute declaration for this use is not associated with a
complex type definition, then associate a clone of it with this CTD,
and clone a new attribute use that uses the associated declaration.
This attribute use is then inherited by extensions and restrictions,
while retaining its original scope.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Attribute uses require their declarations, but only if lax.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse._setRestrictionOf">
<code class="descname">_setRestrictionOf</code><span class="sig-paren">(</span><em>au</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse._setRestrictionOf" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.attributeDeclaration">
<code class="descname">attributeDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.attributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>The attribute declaration for this use.</p>
<p>When the use scope is assigned, the declaration is cloned (if
necessary) so that each declaration corresponds to only one use.  We
rely on this in code generation, because the template map for the use
is stored in its declaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.matchingQNameMembers">
<code class="descname">matchingQNameMembers</code><span class="sig-paren">(</span><em>au_set</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.matchingQNameMembers" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the subset of au_set for which the use names match this use.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.prohibited">
<code class="descname">prohibited</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.prohibited" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.required">
<code class="descname">required</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.required" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.AttributeUse.restrictionOf">
<code class="descname">restrictionOf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.AttributeUse.restrictionOf" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ComplexTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin" title="pyxb.xmlschema.structures._AttributeWildcard_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._AttributeWildcard_mixin</span></code></a></p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY">
<code class="descname">CT_ELEMENT_ONLY</code><em class="property"> = 'ELEMENT_ONLY'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY">
<code class="descname">CT_EMPTY</code><em class="property"> = 'EMPTY'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED">
<code class="descname">CT_MIXED</code><em class="property"> = 'MIXED'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE">
<code class="descname">CT_SIMPLE</code><em class="property"> = 'SIMPLE'</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.DM_empty">
<code class="descname">DM_empty</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.DM_empty" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.DM_extension">
<code class="descname">DM_extension</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.DM_extension" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.DM_restriction">
<code class="descname">DM_restriction</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.DM_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.UrTypeDefinition">
<em class="property">classmethod </em><code class="descname">UrTypeDefinition</code><span class="sig-paren">(</span><em>schema=None</em>, <em>in_builtin_definition=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.UrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Create the ComplexTypeDefinition instance that approximates
the ur-type.</p>
<p>See section 3.4.7.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__PrivateTransient">
<code class="descname">_ComplexTypeDefinition__PrivateTransient</code><em class="property"> = set(['attributeGroupNames', 'usesC1C2', 'usesC1', 'ckw', 'anyAttribute', 'ctscRestrictionNode', 'attributeGroups'])</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__UrTypeDefinition">
<code class="descname">_ComplexTypeDefinition__UrTypeDefinition</code><em class="property"> = &lt;pyxb.xmlschema.structures._UrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__UrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__abstract">
<code class="descname">_ComplexTypeDefinition__abstract</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__annotations">
<code class="descname">_ComplexTypeDefinition__annotations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__anyAttribute">
<code class="descname">_ComplexTypeDefinition__anyAttribute</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__anyAttribute" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroupNames">
<code class="descname">_ComplexTypeDefinition__attributeGroupNames</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroupNames" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroups">
<code class="descname">_ComplexTypeDefinition__attributeGroups</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeGroups" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeUses">
<code class="descname">_ComplexTypeDefinition__attributeUses</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__attributeUses" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseExpandedName">
<code class="descname">_ComplexTypeDefinition__baseExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseTypeDefinition">
<code class="descname">_ComplexTypeDefinition__baseTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ckw">
<code class="descname">_ComplexTypeDefinition__ckw</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ckw" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__completeProcessing">
<code class="descname">_ComplexTypeDefinition__completeProcessing</code><span class="sig-paren">(</span><em>method</em>, <em>content_style</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__completeProcessing" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__complexContent">
<code class="descname">_ComplexTypeDefinition__complexContent</code><span class="sig-paren">(</span><em>method</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__complexContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentStyle">
<code class="descname">_ComplexTypeDefinition__contentStyle</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentStyle" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentType">
<code class="descname">_ComplexTypeDefinition__contentType</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__contentType" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscClause2STD">
<code class="descname">_ComplexTypeDefinition__ctscClause2STD</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscClause2STD" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionMode">
<code class="descname">_ComplexTypeDefinition__ctscRestrictionMode</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionMode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionNode">
<code class="descname">_ComplexTypeDefinition__ctscRestrictionNode</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__ctscRestrictionNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__derivationMethod">
<code class="descname">_ComplexTypeDefinition__derivationMethod</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__derivationMethod" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveContent">
<code class="descname">_ComplexTypeDefinition__effectiveContent</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveMixed">
<code class="descname">_ComplexTypeDefinition__effectiveMixed</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__effectiveMixed" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__final">
<code class="descname">_ComplexTypeDefinition__final</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__final" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isComplexContent">
<code class="descname">_ComplexTypeDefinition__isComplexContent</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isComplexContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isResolved">
<code class="descname">_ComplexTypeDefinition__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__localScopedDeclarations">
<code class="descname">_ComplexTypeDefinition__localScopedDeclarations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__localScopedDeclarations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__prohibitedSubstitutions">
<code class="descname">_ComplexTypeDefinition__prohibitedSubstitutions</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__prohibitedSubstitutions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedAttributeDeclarations">
<code class="descname">_ComplexTypeDefinition__scopedAttributeDeclarations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedAttributeDeclarations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedElementDeclarations">
<code class="descname">_ComplexTypeDefinition__scopedElementDeclarations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__scopedElementDeclarations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setComplexContentFromDOM">
<code class="descname">_ComplexTypeDefinition__setComplexContentFromDOM</code><span class="sig-paren">(</span><em>type_node</em>, <em>content_node</em>, <em>definition_node_list</em>, <em>method</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setComplexContentFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setContentFromDOM">
<code class="descname">_ComplexTypeDefinition__setContentFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__setContentFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__simpleContent">
<code class="descname">_ComplexTypeDefinition__simpleContent</code><span class="sig-paren">(</span><em>method</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__simpleContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1">
<code class="descname">_ComplexTypeDefinition__usesC1</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1C2">
<code class="descname">_ComplexTypeDefinition__usesC1C2</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._ComplexTypeDefinition__usesC1C2" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._DM_Map">
<code class="descname">_DM_Map</code><em class="property"> = {'restriction': 2, 'extension': 1}</em><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._DM_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Complex type definitions depend on their base type definition, the
type definitions of any local attribute declarations, and if strict
the type definitions of any local element declarations.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeComponent">
<code class="descname">_contentTypeComponent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeComponent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeTag">
<code class="descname">_contentTypeTag</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._contentTypeTag" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the value of the content type identifier, i.e. one of the
<a href="#id1"><span class="problematic" id="id2">CT_</span></a> constants.  Return value is None if no content type has been
defined.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._isComplexContent">
<code class="descname">_isComplexContent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._isComplexContent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._isHierarchyRoot">
<code class="descname">_isHierarchyRoot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._isHierarchyRoot" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> iff this is the root of a complex type definition hierarchy.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._recordLocalDeclaration">
<code class="descname">_recordLocalDeclaration</code><span class="sig-paren">(</span><em>decl</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._recordLocalDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Record the given declaration as being locally scoped in
this type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._setDerivationMethod">
<code class="descname">_setDerivationMethod</code><span class="sig-paren">(</span><em>derivation_method</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._setDerivationMethod" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>This method is invoked only by Schema._addNamedComponent, and
then only when a built-in type collides with a schema-defined
type.  Material like facets is not (currently) held in the
built-in copy, so the DOM information is copied over to the
built-in STD, which is subsequently re-resolved.</p>
<p>Returns self.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.abstract">
<code class="descname">abstract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.attributeUses">
<code class="descname">attributeUses</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.attributeUses" title="Permalink to this definition">¶</a></dt>
<dd><p>A frozenset() of AttributeUse instances.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.baseTypeDefinition">
<code class="descname">baseTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The type resolved from the base attribute.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.contentType">
<code class="descname">contentType</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.contentType" title="Permalink to this definition">¶</a></dt>
<dd><p>Identify the sort of content in this type.</p>
<dl class="docutils">
<dt>Valid values are:</dt>
<dd><ul class="first last simple">
<li><a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_EMPTY"><code class="xref py py-obj docutils literal"><span class="pre">CT_EMPTY</span></code></a></li>
<li>( <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_SIMPLE"><code class="xref py py-obj docutils literal"><span class="pre">CT_SIMPLE</span></code></a>, a <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="pyxb.xmlschema.structures.SimpleTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">SimpleTypeDefinition</span></code></a> instance )</li>
<li>( <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_MIXED"><code class="xref py py-obj docutils literal"><span class="pre">CT_MIXED</span></code></a>, a <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> instance )</li>
<li>( <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY" title="pyxb.xmlschema.structures.ComplexTypeDefinition.CT_ELEMENT_ONLY"><code class="xref py py-obj docutils literal"><span class="pre">CT_ELEMENT_ONLY</span></code></a>, a <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> instance )</li>
</ul>
</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.contentTypeAsString">
<code class="descname">contentTypeAsString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.contentTypeAsString" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.derivationMethod">
<code class="descname">derivationMethod</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.derivationMethod" title="Permalink to this definition">¶</a></dt>
<dd><p>How the type was derived.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this type includes a wildcard element in
its content model.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.isBuiltin">
<code class="descname">isBuiltin</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.isBuiltin" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this simple type is a built-in type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this complex type is fully defined.</p>
<p>All built-in type definitions are resolved upon creation.
Schema-defined type definitionss are held unresolved until the
schema has been completely read, so that references to later
schema-defined types can be resolved.  Resolution is performed
after the entire schema has been scanned and type-definition
instances created for all topLevel{Simple,Complex}Types.</p>
<p>If a built-in type definition is also defined in a schema
(which it should be), the built-in definition is kept, with
the schema-related information copied over from the matching
schema-defined type definition.  The former then replaces the
latter in the list of type definitions to be resolved.  See
Schema._addNamedComponent.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.localScopedDeclarations">
<code class="descname">localScopedDeclarations</code><span class="sig-paren">(</span><em>reset=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.localScopedDeclarations" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of element and attribute declarations that were
introduced in this definition (i.e., their scope is this CTD).</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">This specifically returns a list, with element declarations</td>
</tr>
</tbody>
</table>
<p>first, because name binding should privilege the elements over the
attributes.  Within elements and attributes, the components are sorted
by expanded name, to ensure consistency across a series of binding
generations.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>reset</strong> &#8211; If <code class="xref py py-obj docutils literal"><span class="pre">False</span></code> (default), a cached previous value (if it</td>
</tr>
</tbody>
</table>
<p>exists) will be returned.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedAttributeDeclaration">
<code class="descname">lookupScopedAttributeDeclaration</code><span class="sig-paren">(</span><em>expanded_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedAttributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Find an attribute declaration with the given name that is local to this type.</p>
<p>Returns None if there is no such local attribute declaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedElementDeclaration">
<code class="descname">lookupScopedElementDeclaration</code><span class="sig-paren">(</span><em>expanded_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.lookupScopedElementDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Find an element declaration with the given name that is local to this type.</p>
<p>Returns None if there is no such local element declaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ComplexTypeDefinition.pythonSupport">
<code class="descname">pythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ComplexTypeDefinition.pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd><p>Complex type definitions have no built-in type support.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ElementDeclaration">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ElementDeclaration</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="pyxb.xmlschema.structures._ValueConstraint_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ValueConstraint_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin" title="pyxb.xmlschema.structures._ScopedDeclaration_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ScopedDeclaration_mixin</span></code></a></p>
<p>An XMLSchema Element Declaration&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cElement_Declarations">http://www.w3.org/TR/xmlschema-1/#cElement_Declarations</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create an element declaration from the given DOM node.</p>
<p>wxs is a Schema instance within which the element is being
declared.</p>
<p>scope is the _ScopeDeclaration_mixin context into which the
element declaration is recorded.  It can be SCOPE_global, a
complex type definition, or None in the case of elements
declared in a named model group.</p>
<p>node is a DOM element.  The name must be &#8216;element&#8217;, and the
node must be in the XMLSchema namespace.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_extension">
<code class="descname">SGE_extension</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_extension" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_none">
<code class="descname">SGE_none</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_none" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_restriction">
<code class="descname">SGE_restriction</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.SGE_substitution">
<code class="descname">SGE_substitution</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.SGE_substitution" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._DS_Map">
<code class="descname">_DS_Map</code><em class="property"> = {'restriction': 2, 'extension': 1, 'substitution': 4}</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._DS_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__abstract">
<code class="descname">_ElementDeclaration__abstract</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__disallowedSubstitutions">
<code class="descname">_ElementDeclaration__disallowedSubstitutions</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__disallowedSubstitutions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__identityConstraintDefinitions">
<code class="descname">_ElementDeclaration__identityConstraintDefinitions</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__identityConstraintDefinitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__isResolved">
<code class="descname">_ElementDeclaration__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__nillable">
<code class="descname">_ElementDeclaration__nillable</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__nillable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupAffiliation">
<code class="descname">_ElementDeclaration__substitutionGroupAffiliation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupAffiliation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExclusions">
<code class="descname">_ElementDeclaration__substitutionGroupExclusions</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExclusions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExpandedName">
<code class="descname">_ElementDeclaration__substitutionGroupExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__substitutionGroupExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeDefinition">
<code class="descname">_ElementDeclaration__typeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeExpandedName">
<code class="descname">_ElementDeclaration__typeExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._ElementDeclaration__typeExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._SGE_Map">
<code class="descname">_SGE_Map</code><em class="property"> = {'restriction': 2, 'extension': 1}</em><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._SGE_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Element declarations depend on the type definition of their
content.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._typeDefinition">
<code class="descname">_typeDefinition</code><span class="sig-paren">(</span><em>type_definition</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.abstract">
<code class="descname">abstract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.abstract" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return False, since element declarations are not wildcards.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.identityConstraintDefinitions">
<code class="descname">identityConstraintDefinitions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.identityConstraintDefinitions" title="Permalink to this definition">¶</a></dt>
<dd><p>A list of IdentityConstraintDefinition instances.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd><p>Determine whether this element declaration is adaptable.</p>
<p>OK, this gets ugly.  First, if this declaration isn&#8217;t resolved, it&#8217;s
clearly not adaptable.</p>
<p>Now: For it to be adaptable, we must know enough about its type to
verify that it is derivation-consistent with any other uses of the
same name in the same complex type.  If the element&#8217;s type is
resolved, that&#8217;s good enough.</p>
<p>If the element&#8217;s type isn&#8217;t resolved, we&#8217;re golden as long as
type-equivalent types were used.  But it&#8217;s also allowed for the
derived ctd to use the element name constraining it to a derivation of
the element base type.  (Go see namespace
<a class="reference external" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a> types PositionType, PositionType2D,
BoundingBox, and WGS84BoundingBox for an example).  So, we really do
have to have the element&#8217;s type resolved.</p>
<p>Except that if a CTD&#8217;s content incorporates an element with the same
type as the CTD (i.e., nested), this will never happen, because the
CTD can&#8217;t get resolved until after it has been resolved.
(Go see {<a class="reference external" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>}ContentsBaseType and
{<a class="reference external" href="http://www.opengis.net/ows/1.1">http://www.opengis.net/ows/1.1</a>}DatasetDescriptionSummaryBaseType for
an example).</p>
<p>So, we give the world a break and assume that if the type we&#8217;re trying
to resolve is the same as the type of an element in that type, then
the element type will be resolved by the point it&#8217;s needed.  In point
of fact, it won&#8217;t, but we&#8217;ll only notice that if a CTD contains an
element whose type is a restriction of the CTD.  In that case,
isDerivationConsistent will blow chunks and somebody&#8217;ll have to come
back and finish up this mess.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.nillable">
<code class="descname">nillable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.nillable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.substitutionGroupAffiliation">
<code class="descname">substitutionGroupAffiliation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.substitutionGroupAffiliation" title="Permalink to this definition">¶</a></dt>
<dd><p>None, or a reference to an ElementDeclaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ElementDeclaration.typeDefinition">
<code class="descname">typeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ElementDeclaration.typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The simple or complex type to which the element value conforms.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">IdentityConstraintDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a></p>
<p>An XMLSchema Identity Constraint Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions">http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEY">
<code class="descname">ICC_KEY</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEY" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEYREF">
<code class="descname">ICC_KEYREF</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_KEYREF" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_UNIQUE">
<code class="descname">ICC_UNIQUE</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.ICC_UNIQUE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__annotations">
<code class="descname">_IdentityConstraintDefinition__annotations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__fields">
<code class="descname">_IdentityConstraintDefinition__fields</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__fields" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__icc">
<code class="descname">_IdentityConstraintDefinition__icc</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__icc" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__identityConstraintCategory">
<code class="descname">_IdentityConstraintDefinition__identityConstraintCategory</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__identityConstraintCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__isResolved">
<code class="descname">_IdentityConstraintDefinition__isResolved</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referAttribute">
<code class="descname">_IdentityConstraintDefinition__referAttribute</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referAttribute" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referencedKey">
<code class="descname">_IdentityConstraintDefinition__referencedKey</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__referencedKey" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__selector">
<code class="descname">_IdentityConstraintDefinition__selector</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._IdentityConstraintDefinition__selector" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Constraint definitions that are by reference require the referenced constraint.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.annotations">
<code class="descname">annotations</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.fields">
<code class="descname">fields</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.fields" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.identityConstraintCategory">
<code class="descname">identityConstraintCategory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.identityConstraintCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.IdentityConstraintDefinition.selector">
<code class="descname">selector</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.IdentityConstraintDefinition.selector" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ModelGroup">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ModelGroup</code><span class="sig-paren">(</span><em>compositor</em>, <em>particles</em>, <em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Model Group&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cModel_Group">http://www.w3.org/TR/xmlschema-1/#cModel_Group</a>&gt; component.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_ALL">
<code class="descname">C_ALL</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_ALL" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_CHOICE">
<code class="descname">C_CHOICE</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_CHOICE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_INVALID">
<code class="descname">C_INVALID</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_INVALID" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup.C_SEQUENCE">
<code class="descname">C_SEQUENCE</code><em class="property"> = 3</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.C_SEQUENCE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroup.CompositorToString">
<em class="property">classmethod </em><code class="descname">CompositorToString</code><span class="sig-paren">(</span><em>compositor</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.CompositorToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Map a compositor value to a string.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroup.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a model group from the given DOM node.</p>
<p>wxs is a Schema instance within which the model group is being
defined.</p>
<p>node is a DOM element.  The name must be one of ( &#8216;all&#8217;,
&#8216;choice&#8217;, &#8216;sequence&#8217; ), and the node must be in the XMLSchema
namespace.</p>
<p>scope is the _ScopeDeclaration_mxin context that is assigned
to declarations that appear within the model group.  It can be
None, indicating no scope defined, or a complex type
definition.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroup.IsGroupMemberNode">
<em class="property">classmethod </em><code class="descname">IsGroupMemberNode</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.IsGroupMemberNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup._ModelGroup__compositor">
<code class="descname">_ModelGroup__compositor</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._ModelGroup__compositor" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup._ModelGroup__modelGroupDefinition">
<code class="descname">_ModelGroup__modelGroupDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._ModelGroup__modelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroup._ModelGroup__particles">
<code class="descname">_ModelGroup__particles</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._ModelGroup__particles" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.compositor">
<code class="descname">compositor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.compositor" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.compositorToString">
<code class="descname">compositorToString</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.compositorToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a string representing the compositor value.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.effectiveTotalRange">
<code class="descname">effectiveTotalRange</code><span class="sig-paren">(</span><em>particle</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.effectiveTotalRange" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the minimum and maximum of the number of elements that can
appear in a sequence matched by this particle.</p>
<p>See <a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-seq-range">http://www.w3.org/TR/xmlschema-1/#cos-seq-range</a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if the model includes a wildcard amongst its particles.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd><p>A model group has an unresolvable particle if any of its
particles is unresolvable.  Duh.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.modelGroupDefinition">
<code class="descname">modelGroupDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.modelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>The ModelGroupDefinition that names this group, or None if it is unnamed.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroup.particles">
<code class="descname">particles</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroup.particles" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">ModelGroupDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Model Group Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cModel_Group_Definitions">http://www.w3.org/TR/xmlschema-1/#cModel_Group_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a Model Group Definition from a DOM element node.</p>
<p>wxs is a Schema instance within which the model group is being
defined.</p>
<p>node is a DOM element.  The name must be &#8216;group&#8217;, and the node
must be in the XMLSchema namespace.  The node must have a
&#8216;name&#8217; attribute, and must not have a &#8216;ref&#8217; attribute.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition._ModelGroupDefinition__modelGroup">
<code class="descname">_ModelGroupDefinition__modelGroup</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition._ModelGroupDefinition__modelGroup" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Model group definitions depend on the contained model group.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.ModelGroupDefinition.modelGroup">
<code class="descname">modelGroup</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.ModelGroupDefinition.modelGroup" title="Permalink to this definition">¶</a></dt>
<dd><p>The model group for which this definition provides a name.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.NotationDeclaration">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">NotationDeclaration</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Notation Declaration&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations">http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.NotationDeclaration.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__publicIdentifier">
<code class="descname">_NotationDeclaration__publicIdentifier</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__publicIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__systemIdentifier">
<code class="descname">_NotationDeclaration__systemIdentifier</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration._NotationDeclaration__systemIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.NotationDeclaration._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.NotationDeclaration.publicIdentifier">
<code class="descname">publicIdentifier</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration.publicIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.NotationDeclaration.systemIdentifier">
<code class="descname">systemIdentifier</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.NotationDeclaration.systemIdentifier" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.Particle">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Particle</code><span class="sig-paren">(</span><em>term</em>, <em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a></p>
<p>An XMLSchema Particle&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cParticle">http://www.w3.org/TR/xmlschema-1/#cParticle</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Particle.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a particle from the given DOM node.</p>
<p>wxs is a Schema instance within which the model group is being
defined.</p>
<p>node is a DOM element.  The name must be one of ( &#8216;group&#8217;,
&#8216;element&#8217;, &#8216;any&#8217;, &#8216;all&#8217;, &#8216;choice&#8217;, &#8216;sequence&#8217; ), and the node
must be in the XMLSchema namespace.</p>
<p>scope is the _ScopeDeclaration_mxin context that is assigned
to declarations that appear within the model group.  It can be
None, indicating no scope defined, or a complex type
definition.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Particle.IsParticleNode">
<em class="property">classmethod </em><code class="descname">IsParticleNode</code><span class="sig-paren">(</span><em>node</em>, <em>*others</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.IsParticleNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Particle.IsTypedefNode">
<em class="property">classmethod </em><code class="descname">IsTypedefNode</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.IsTypedefNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__maxOccurs">
<code class="descname">_Particle__maxOccurs</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__maxOccurs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__minOccurs">
<code class="descname">_Particle__minOccurs</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__minOccurs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__pendingTerm">
<code class="descname">_Particle__pendingTerm</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__pendingTerm" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__refExpandedName">
<code class="descname">_Particle__refExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__refExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__resolvableType">
<code class="descname">_Particle__resolvableType</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__resolvableType" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Particle._Particle__term">
<code class="descname">_Particle__term</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._Particle__term" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.effectiveTotalRange">
<code class="descname">effectiveTotalRange</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.effectiveTotalRange" title="Permalink to this definition">¶</a></dt>
<dd><p>Extend the concept of effective total range to all particles.</p>
<p>See <a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-seq-range">http://www.w3.org/TR/xmlschema-1/#cos-seq-range</a> and
<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-choice-range">http://www.w3.org/TR/xmlschema-1/#cos-choice-range</a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this particle has a wildcard in its term.</p>
<p>Note that the wildcard may be in a nested model group.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd><p>A particle has an unresolvable particle if it cannot be
resolved, or if it has resolved to a term which is a model
group that has an unresolvable particle.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.isEmptiable">
<code class="descname">isEmptiable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.isEmptiable" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> iff this particle can legitimately match an empty
sequence (no content).</p>
<p>See <a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-group-emptiable">http://www.w3.org/TR/xmlschema-1/#cos-group-emptiable</a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.isResolved" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.maxOccurs">
<code class="descname">maxOccurs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.maxOccurs" title="Permalink to this definition">¶</a></dt>
<dd><p>Upper limit on number of times the term may appear.</p>
<p>If None, the term may appear any number of times; otherwise,
this is an integral value indicating the maximum number of times
the term may appear.  The default value is 1; the value, unless
None, must always be at least minOccurs().</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.minOccurs">
<code class="descname">minOccurs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.minOccurs" title="Permalink to this definition">¶</a></dt>
<dd><p>The minimum number of times the term may appear.</p>
<p>Defaults to 1.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.term">
<code class="descname">term</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.term" title="Permalink to this definition">¶</a></dt>
<dd><p>A reference to a ModelGroup, Wildcard, or ElementDeclaration.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Particle.walkParticleTree">
<code class="descname">walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Particle.walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd><p>The entry-point to walk a particle tree defining a content model.</p>
<p>See <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree" title="pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree"><code class="xref py py-obj docutils literal"><span class="pre">_ParticleTree_mixin._walkParticleTree</span></code></a>.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.Schema">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Schema</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a></p>
<p>An XMLSchema Schema&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#Schemas">http://www.w3.org/TR/xmlschema-1/#Schemas</a>&gt;.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>namespace_context=None</em>, <em>schema_location=None</em>, <em>schema_signature=None</em>, <em>generation_uid=None</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Take the root element of the document, and scan its attributes under
the assumption it is an XMLSchema schema element.  That means
recognize namespace declarations and process them.  Also look for
and set the default namespace.  All other attributes are passed up
to the parent class for storage.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromDocument">
<em class="property">classmethod </em><code class="descname">CreateFromDocument</code><span class="sig-paren">(</span><em>xmls</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromDocument" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromLocation">
<em class="property">classmethod </em><code class="descname">CreateFromLocation</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromLocation" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a schema from a schema location.</p>
<p>Reads an XML document from the schema location and creates a schema
using it.  All keyword parameters are passed to <a class="reference internal" href="#pyxb.xmlschema.structures.Schema.CreateFromDOM" title="pyxb.xmlschema.structures.Schema.CreateFromDOM"><code class="xref py py-obj docutils literal"><span class="pre">CreateFromDOM</span></code></a>.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>schema_location</strong> &#8211; A file path or a URI.  If this is a relative</td>
</tr>
</tbody>
</table>
<p>URI and <code class="xref py py-obj docutils literal"><span class="pre">parent_uri</span></code> is present, the actual location will be
<a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.NormalizeLocation" title="pyxb.utils.utility.NormalizeLocation"><code class="xref py py-obj docutils literal"><span class="pre">normallzed</span></code></a>.
:keyword parent_uri: The context within which schema_location will be
normalized, if necessary.
:keyword absolute_schema_location: A file path or URI.  This value is
not normalized, and supersedes <code class="xref py py-obj docutils literal"><span class="pre">schema_location</span></code>.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Schema.CreateFromStream">
<em class="property">classmethod </em><code class="descname">CreateFromStream</code><span class="sig-paren">(</span><em>stream</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.CreateFromStream" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._QUALIFIED">
<code class="descname">_QUALIFIED</code><em class="property"> = 'qualified'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._QUALIFIED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._SA_All">
<code class="descname">_SA_All</code><em class="property"> = '#all'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._SA_All" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__SchemaCategories">
<code class="descname">_Schema__SchemaCategories</code><em class="property"> = ('typeDefinition', 'attributeGroupDefinition', 'modelGroupDefinition', 'attributeDeclaration', 'elementDeclaration', 'notationDeclaration', 'identityConstraintDefinition')</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__SchemaCategories" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__TopLevelComponentMap">
<code class="descname">_Schema__TopLevelComponentMap</code><em class="property"> = {'simpleType': &lt;class 'pyxb.xmlschema.structures.SimpleTypeDefinition'&gt;, 'notation': &lt;class 'pyxb.xmlschema.structures.NotationDeclaration'&gt;, 'attribute': &lt;class 'pyxb.xmlschema.structures.AttributeDeclaration'&gt;, 'element': &lt;class 'pyxb.xmlschema.structures.ElementDeclaration'&gt;, 'complexType': &lt;class 'pyxb.xmlschema.structures.ComplexTypeDefinition'&gt;, 'group': &lt;class 'pyxb.xmlschema.structures.ModelGroupDefinition'&gt;, 'attributeGroup': &lt;class 'pyxb.xmlschema.structures.AttributeGroupDefinition'&gt;}</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__TopLevelComponentMap" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__addAttributeDeclaration">
<code class="descname">_Schema__addAttributeDeclaration</code><span class="sig-paren">(</span><em>ad</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__addAttributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__addAttributeGroupDefinition">
<code class="descname">_Schema__addAttributeGroupDefinition</code><span class="sig-paren">(</span><em>agd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__addAttributeGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__addTypeDefinition">
<code class="descname">_Schema__addTypeDefinition</code><span class="sig-paren">(</span><em>td</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__addTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__annotations">
<code class="descname">_Schema__annotations</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__annotations" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__attributeMap">
<code class="descname">_Schema__attributeMap</code><em class="property"> = {&lt;pyxb.namespace.ExpandedName object&gt;: None, &lt;pyxb.namespace.ExpandedName object&gt;: 'unqualified', &lt;pyxb.namespace.ExpandedName object&gt;: None, &lt;pyxb.namespace.ExpandedName object&gt;: None, &lt;pyxb.namespace.ExpandedName object&gt;: '', &lt;pyxb.namespace.ExpandedName object&gt;: '', &lt;pyxb.namespace.ExpandedName object&gt;: 'unqualified', &lt;pyxb.namespace.ExpandedName object&gt;: None}</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__attributeMap" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__defaultNamespace">
<code class="descname">_Schema__defaultNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__defaultNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__ebvForNode">
<code class="descname">_Schema__ebvForNode</code><span class="sig-paren">(</span><em>attr</em>, <em>dom_node</em>, <em>candidate_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__ebvForNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__generationUID">
<code class="descname">_Schema__generationUID</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__generationUID" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__importEIIs">
<code class="descname">_Schema__importEIIs</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__importEIIs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__importedSchema">
<code class="descname">_Schema__importedSchema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__importedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__includedSchema">
<code class="descname">_Schema__includedSchema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__includedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__location">
<code class="descname">_Schema__location</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__location" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__locationTag">
<code class="descname">_Schema__locationTag</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__locationTag" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__namespaceData">
<code class="descname">_Schema__namespaceData</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__namespaceData" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__originRecord">
<code class="descname">_Schema__originRecord</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__originRecord" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__pastProlog">
<code class="descname">_Schema__pastProlog</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__pastProlog" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processAnnotation">
<code class="descname">_Schema__processAnnotation</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processAnnotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processImport">
<code class="descname">_Schema__processImport</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processImport" title="Permalink to this definition">¶</a></dt>
<dd><p>Process an import directive.</p>
<p>This attempts to locate schema (named entity) information for
a namespace that is referenced by this schema.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processInclude">
<code class="descname">_Schema__processInclude</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processInclude" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processRedefine">
<code class="descname">_Schema__processRedefine</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processRedefine" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__processTopLevelNode">
<code class="descname">_Schema__processTopLevelNode</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__processTopLevelNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Process a DOM node from the top level of the schema.</p>
<p>This should return a non-None value if the node was
successfully recognized.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__referencedNamespaces">
<code class="descname">_Schema__referencedNamespaces</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__referencedNamespaces" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._Schema__requireInProlog">
<code class="descname">_Schema__requireInProlog</code><span class="sig-paren">(</span><em>node_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__requireInProlog" title="Permalink to this definition">¶</a></dt>
<dd><p>Throw a SchemaValidationException referencing the given
node if we have passed the sequence point representing the end
of prolog elements.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__signature">
<code class="descname">_Schema__signature</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__signature" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__targetNamespace">
<code class="descname">_Schema__targetNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._Schema__uriContentArchiveDirectory">
<code class="descname">_Schema__uriContentArchiveDirectory</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._Schema__uriContentArchiveDirectory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Schema._UNQUALIFIED">
<code class="descname">_UNQUALIFIED</code><em class="property"> = 'unqualified'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._UNQUALIFIED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._addAnnotation">
<code class="descname">_addAnnotation</code><span class="sig-paren">(</span><em>annotation</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._addAnnotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._addNamedComponent">
<code class="descname">_addNamedComponent</code><span class="sig-paren">(</span><em>nc</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._addNamedComponent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._setAttributeFromDOM">
<code class="descname">_setAttributeFromDOM</code><span class="sig-paren">(</span><em>attr</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._setAttributeFromDOM" title="Permalink to this definition">¶</a></dt>
<dd><p>Override the schema attribute with the given DOM value.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._setAttributesFromMap">
<code class="descname">_setAttributesFromMap</code><span class="sig-paren">(</span><em>attr_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._setAttributesFromMap" title="Permalink to this definition">¶</a></dt>
<dd><p>Override the schema attributes with values from the given map.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema._uriContentArchiveDirectory">
<code class="descname">_uriContentArchiveDirectory</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema._uriContentArchiveDirectory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.blockForNode">
<code class="descname">blockForNode</code><span class="sig-paren">(</span><em>dom_node</em>, <em>candidate_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.blockForNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a bit mask indicating a set of options read from the node&#8217;s &#8220;block&#8221; attribute or the schema&#8217;s &#8220;blockDefault&#8221; attribute.</p>
<p>A value of &#8216;#all&#8217; means enable every options; otherwise, the attribute
value should be a list of tokens, for which the corresponding value
will be added to the return value.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>dom_node</strong> (<code class="xref py py-obj docutils literal"><span class="pre">xml.dom.Node</span></code>) &#8211; the node from which the &#8220;block&#8221; attribute will be retrieved</li>
<li><strong>candidate_map</strong> &#8211; map from strings to bitmask values</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.defaultNamespace">
<code class="descname">defaultNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.defaultNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>Default namespace of the schema.</p>
<p>Will be None unless the schema has an &#8216;xmlns&#8217; attribute.  The
value must currently be provided as a keyword parameter to the
constructor.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.finalForNode">
<code class="descname">finalForNode</code><span class="sig-paren">(</span><em>dom_node</em>, <em>candidate_map</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.finalForNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a bit mask indicating a set of options read from the node&#8217;s
&#8220;final&#8221; attribute or the schema&#8217;s &#8220;finalDefault&#8221; attribute.</p>
<p>A value of &#8216;#all&#8217; means enable every options; otherwise, the attribute
value should be a list of tokens, for which the corresponding value
will be added to the return value.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
<li><strong>dom_node</strong> (<code class="xref py py-obj docutils literal"><span class="pre">xml.dom.Node</span></code>) &#8211; the node from which the &#8220;final&#8221; attribute will be retrieved</li>
<li><strong>candidate_map</strong> &#8211; map from strings to bitmask values</li>
</ul>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.generationUID">
<code class="descname">generationUID</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.generationUID" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.importEIIs">
<code class="descname">importEIIs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.importEIIs" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.importedSchema">
<code class="descname">importedSchema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.importedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.includedSchema">
<code class="descname">includedSchema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.includedSchema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.location">
<code class="descname">location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.location" title="Permalink to this definition">¶</a></dt>
<dd><p>URI or path to where the schema can be found.</p>
<p>For schema created by a user, the location should be provided to the
constructor using the <code class="xref py py-obj docutils literal"><span class="pre">schema_location</span></code> keyword.  In the case of
imported or included schema, the including schema&#8217;s location is used
as the base URI for determining the absolute URI of the included
schema from its (possibly relative) location value.  For files,
the scheme and authority portions are generally absent, as is often
the abs_path part.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.locationTag">
<code class="descname">locationTag</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.locationTag" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.originRecord">
<code class="descname">originRecord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.originRecord" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.referencedNamespaces">
<code class="descname">referencedNamespaces</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.referencedNamespaces" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.schemaAttribute">
<code class="descname">schemaAttribute</code><span class="sig-paren">(</span><em>attr_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.schemaAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the schema attribute value associated with the given (nc)name.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>attr_name</strong> &#8211; local name for the attribute in the schema element.</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">the value of the corresponding attribute, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if it</td>
</tr>
</tbody>
</table>
<p>has not been defined and has no default.
:raise KeyError: <code class="xref py py-obj docutils literal"><span class="pre">attr_name</span></code> is not a valid attribute for a <code class="xref py py-obj docutils literal"><span class="pre">schema</span></code> element.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.schemaHasAttribute">
<code class="descname">schemaHasAttribute</code><span class="sig-paren">(</span><em>attr_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.schemaHasAttribute" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff the schema has an attribute with the given (nc)name.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.signature">
<code class="descname">signature</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.signature" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.targetNamespace">
<code class="descname">targetNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The targetNamespace of a componen.</p>
<p>This is None, or a reference to a Namespace in which the
component is declared (either as a global or local to one of
the namespace&#8217;s complex type definitions).  This is immutable
after creation.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Schema.targetNamespaceForNode">
<code class="descname">targetNamespaceForNode</code><span class="sig-paren">(</span><em>dom_node</em>, <em>declaration_type</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Schema.targetNamespaceForNode" title="Permalink to this definition">¶</a></dt>
<dd><p>Determine the target namespace for a local attribute or element declaration.</p>
<p>Look at the node&#8217;s <code class="xref py py-obj docutils literal"><span class="pre">form</span></code> attribute, or if none the schema&#8217;s
<code class="xref py py-obj docutils literal"><span class="pre">attributeFormDefault</span></code> or <code class="xref py py-obj docutils literal"><span class="pre">elementFormDefault</span></code> value.  If the
resulting value is <code class="xref py py-obj docutils literal"><span class="pre">&quot;qualified&quot;</span></code> and the parent schema has a
non-absent target namespace, return it to use as the declaration
target namespace.  Otherwise, return None to indicate that the
declaration has no namespace.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>dom_node</strong> &#8211; The node defining an element or attribute declaration</li>
<li><strong>declaration_type</strong> &#8211; Either <a class="reference internal" href="#pyxb.xmlschema.structures.AttributeDeclaration" title="pyxb.xmlschema.structures.AttributeDeclaration"><code class="xref py py-obj docutils literal"><span class="pre">AttributeDeclaration</span></code></a> or <a class="reference internal" href="#pyxb.xmlschema.structures.ElementDeclaration" title="pyxb.xmlschema.structures.ElementDeclaration"><code class="xref py py-obj docutils literal"><span class="pre">ElementDeclaration</span></code></a></li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.Namespace" title="pyxb.namespace.Namespace"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.Namespace</span></code></a> or None</p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">SimpleTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._NamedComponent_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.resolution._Resolvable_mixin" title="pyxb.namespace.resolution._Resolvable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.resolution._Resolvable_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Simple Type Definition&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definitions">http://www.w3.org/TR/xmlschema-1/#Simple_Type_Definitions</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateDerivedInstance">
<em class="property">classmethod </em><code class="descname">CreateDerivedInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>parent_std</em>, <em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateDerivedInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a derived simple type in the target namespace.</p>
<p>This is used to pre-load standard built-in derived types.  You
can use it for your own schemas as well, if you have special
types that require explicit support to for Pythonic
conversion.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateListInstance">
<em class="property">classmethod </em><code class="descname">CreateListInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>item_std</em>, <em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateListInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a list simple type in the target namespace.</p>
<p>This is used to preload standard built-in list types.  You can
use it for your own schemas as well, if you have special types
that require explicit support to for Pythonic conversion; but
note that such support is identified by the item_std.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreatePrimitiveInstance">
<em class="property">classmethod </em><code class="descname">CreatePrimitiveInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreatePrimitiveInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a primitive simple type in the target namespace.</p>
<p>This is mainly used to pre-load standard built-in primitive
types, such as those defined by XMLSchema Datatypes.  You can
use it for your own schemas as well, if you have special types
that require explicit support to for Pythonic conversion.</p>
<p>All parameters are required and must be non-None.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.CreateUnionInstance">
<em class="property">classmethod </em><code class="descname">CreateUnionInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em>, <em>member_stds</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.CreateUnionInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>(Placeholder) Create a union simple type in the target namespace.</p>
<p>This function has not been implemented.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_empty">
<code class="descname">STD_empty</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_empty" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_extension">
<code class="descname">STD_extension</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_extension" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_list">
<code class="descname">STD_list</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_list" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_restriction">
<code class="descname">STD_restriction</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.STD_union">
<code class="descname">STD_union</code><em class="property"> = 8</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.STD_union" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.SimpleUrTypeDefinition">
<em class="property">classmethod </em><code class="descname">SimpleUrTypeDefinition</code><span class="sig-paren">(</span><em>schema=None</em>, <em>in_builtin_definition=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.SimpleUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Create the SimpleTypeDefinition instance that approximates the simple ur-type.</p>
<p>See section 3.14.7.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_absent">
<code class="descname">VARIETY_absent</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_absent" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_atomic">
<code class="descname">VARIETY_atomic</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_atomic" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_list">
<code class="descname">VARIETY_list</code><em class="property"> = 3</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_list" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_union">
<code class="descname">VARIETY_union</code><em class="property"> = 4</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VARIETY_union" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.VarietyToString">
<em class="property">classmethod </em><code class="descname">VarietyToString</code><span class="sig-paren">(</span><em>variety</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.VarietyToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert a variety value to a string.</p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._CreateXMLInstance">
<em class="property">classmethod </em><code class="descname">_CreateXMLInstance</code><span class="sig-paren">(</span><em>name</em>, <em>schema</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._CreateXMLInstance" title="Permalink to this definition">¶</a></dt>
<dd><p>Create STD instances for built-in types.</p>
<p>For example, xml:space is a restriction of NCName; xml:lang is a union.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_empty">
<code class="descname">_DA_empty</code><em class="property"> = 'none specified'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_empty" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_list">
<code class="descname">_DA_list</code><em class="property"> = 'list'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_list" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_restriction">
<code class="descname">_DA_restriction</code><em class="property"> = 'restriction'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_restriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._DA_union">
<code class="descname">_DA_union</code><em class="property"> = 'union'</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._DA_union" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._FinalToString">
<em class="property">classmethod </em><code class="descname">_FinalToString</code><span class="sig-paren">(</span><em>final_value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._FinalToString" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert a final value to a string.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._STD_Map">
<code class="descname">_STD_Map</code><em class="property"> = {'union': 8, 'restriction': 4, 'list': 2, 'extension': 1}</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._STD_Map" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__SimpleUrTypeDefinition">
<code class="descname">_SimpleTypeDefinition__SimpleUrTypeDefinition</code><em class="property"> = &lt;pyxb.xmlschema.structures._SimpleUrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__SimpleUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseExpandedName">
<code class="descname">_SimpleTypeDefinition__baseExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseTypeDefinition">
<code class="descname">_SimpleTypeDefinition__baseTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__completeResolution">
<code class="descname">_SimpleTypeDefinition__completeResolution</code><span class="sig-paren">(</span><em>body</em>, <em>variety</em>, <em>alternative</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__completeResolution" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__defineDefaultFacets">
<code class="descname">_SimpleTypeDefinition__defineDefaultFacets</code><span class="sig-paren">(</span><em>variety</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__defineDefaultFacets" title="Permalink to this definition">¶</a></dt>
<dd><p>Create facets for varieties that can take facets that are undeclared.</p>
<p>This means unions, which per section 4.1.2.3 of
<a class="reference external" href="http://www.w3.org/TR/xmlschema-2/">http://www.w3.org/TR/xmlschema-2/</a> can have enumeration or
pattern restrictions.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__derivationAlternative">
<code class="descname">_SimpleTypeDefinition__derivationAlternative</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__derivationAlternative" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__domNode">
<code class="descname">_SimpleTypeDefinition__domNode</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__domNode" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__facets">
<code class="descname">_SimpleTypeDefinition__facets</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__facets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__final">
<code class="descname">_SimpleTypeDefinition__final</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__final" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__fundamentalFacets">
<code class="descname">_SimpleTypeDefinition__fundamentalFacets</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__fundamentalFacets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromList">
<code class="descname">_SimpleTypeDefinition__initializeFromList</code><span class="sig-paren">(</span><em>body</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromList" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromRestriction">
<code class="descname">_SimpleTypeDefinition__initializeFromRestriction</code><span class="sig-paren">(</span><em>body</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromRestriction" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromUnion">
<code class="descname">_SimpleTypeDefinition__initializeFromUnion</code><span class="sig-paren">(</span><em>body</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__initializeFromUnion" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__isBuiltin">
<code class="descname">_SimpleTypeDefinition__isBuiltin</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__isBuiltin" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeDefinition">
<code class="descname">_SimpleTypeDefinition__itemTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeExpandedName">
<code class="descname">_SimpleTypeDefinition__itemTypeExpandedName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__itemTypeExpandedName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localFacets">
<code class="descname">_SimpleTypeDefinition__localFacets</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localFacets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localMemberTypes">
<code class="descname">_SimpleTypeDefinition__localMemberTypes</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__localMemberTypes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypeDefinitions">
<code class="descname">_SimpleTypeDefinition__memberTypeDefinitions</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypeDefinitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypes">
<code class="descname">_SimpleTypeDefinition__memberTypes</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypesExpandedNames">
<code class="descname">_SimpleTypeDefinition__memberTypesExpandedNames</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__memberTypesExpandedNames" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__primitiveTypeDefinition">
<code class="descname">_SimpleTypeDefinition__primitiveTypeDefinition</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__primitiveTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__processHasFacetAndProperty">
<code class="descname">_SimpleTypeDefinition__processHasFacetAndProperty</code><span class="sig-paren">(</span><em>variety</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__processHasFacetAndProperty" title="Permalink to this definition">¶</a></dt>
<dd><p>Identify the facets and properties for this stype.</p>
<p>This method simply identifies the facets that apply to this
specific type, and records property values.  Only
explicitly-associated facets and properties are stored; others
from base types will also affect this type.  The information
is taken from the applicationInformation children of the
definition&#8217;s annotation node, if any.  If there is no support
for the XMLSchema_hasFacetAndProperty namespace, this is a
no-op.</p>
<p>Upon return, self.__facets is a map from the class for an
associated fact to None, and self.__fundamentalFacets is a
frozenset of instances of FundamentalFacet.</p>
<p>The return value is self.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__pythonSupport">
<code class="descname">_SimpleTypeDefinition__pythonSupport</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__resolveBuiltin">
<code class="descname">_SimpleTypeDefinition__resolveBuiltin</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__resolveBuiltin" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__singleSimpleTypeChild">
<code class="descname">_SimpleTypeDefinition__singleSimpleTypeChild</code><span class="sig-paren">(</span><em>body</em>, <em>other_elts_ok=False</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__singleSimpleTypeChild" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__updateFacets">
<code class="descname">_SimpleTypeDefinition__updateFacets</code><span class="sig-paren">(</span><em>body</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__updateFacets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__variety">
<code class="descname">_SimpleTypeDefinition__variety</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._SimpleTypeDefinition__variety" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._bindingRequires_vx">
<code class="descname">_bindingRequires_vx</code><span class="sig-paren">(</span><em>include_lax</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._bindingRequires_vx" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement base class method.</p>
<p>This STD depends on its baseTypeDefinition, unless its variety
is absent.  Other dependencies are on item, primitive, or
member type definitions.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._createRestriction">
<code class="descname">_createRestriction</code><span class="sig-paren">(</span><em>owner</em>, <em>body</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._createRestriction" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new simple type with this as its base.</p>
<p>The type is owned by the provided owner, and may have facet
restrictions defined by the body.
:param owner: the owner for the newly created type
:type owner: <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">ComplexTypeDefinition</span></code></a>
:param body: the DOM node from which facet information will be extracted
:type body: <code class="xref py py-obj docutils literal"><span class="pre">xml.dom.Node</span></code>
:rtype: <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="pyxb.xmlschema.structures.SimpleTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">SimpleTypeDefinition</span></code></a></p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._derivationAlternative">
<code class="descname">_derivationAlternative</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._derivationAlternative" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd><p>Attempt to resolve the type.</p>
<p>Type resolution for simple types means that the corresponding
schema component fields have been set.  Specifically, that
means variety, baseTypeDefinition, and the appropriate
additional fields depending on variety.</p>
<p>All built-in STDs are resolved upon creation.  Schema-defined
STDs are held unresolved until the schema has been completely
read, so that references to later schema-defined STDs can be
resolved.  Resolution is performed after the entire schema has
been scanned and STD instances created for all
topLevelSimpleTypes.</p>
<p>If a built-in STD is also defined in a schema (which it should
be for XMLSchema), the built-in STD is kept, with the
schema-related information copied over from the matching
schema-defined STD.  The former then replaces the latter in
the list of STDs to be resolved.</p>
<p>Types defined by restriction have the same variety as the type
they restrict.  If a simple type restriction depends on an
unresolved type, this method simply queues it for resolution
in a later pass and returns.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._setPythonSupport">
<code class="descname">_setPythonSupport</code><span class="sig-paren">(</span><em>python_support</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._setPythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>This method is invoked only by Schema._addNamedComponent, and
then only when a built-in type collides with a schema-defined
type.  Material like facets is not (currently) held in the
built-in copy, so the DOM information is copied over to the
built-in STD, which is subsequently re-resolved.</p>
<p>Returns self.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.baseTypeDefinition">
<code class="descname">baseTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.baseTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.facets">
<code class="descname">facets</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.facets" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.fundamentalFacets">
<code class="descname">fundamentalFacets</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.fundamentalFacets" title="Permalink to this definition">¶</a></dt>
<dd><p>A frozenset of instances of facets.FundamentallFacet.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.hasPythonSupport">
<code class="descname">hasPythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.hasPythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.isBuiltin">
<code class="descname">isBuiltin</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.isBuiltin" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this simple type is a built-in type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.isResolved">
<code class="descname">isResolved</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.isResolved" title="Permalink to this definition">¶</a></dt>
<dd><p>Indicate whether this simple type is fully defined.</p>
<p>Type resolution for simple types means that the corresponding
schema component fields have been set.  Specifically, that
means variety, baseTypeDefinition, and the appropriate
additional fields depending on variety.  See _resolve() for
more information.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.itemTypeDefinition">
<code class="descname">itemTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.itemTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.memberTypeDefinitions">
<code class="descname">memberTypeDefinitions</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.memberTypeDefinitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.primitiveTypeDefinition">
<code class="descname">primitiveTypeDefinition</code><span class="sig-paren">(</span><em>throw_if_absent=True</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.primitiveTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport">
<code class="descname">pythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.pythonToString">
<code class="descname">pythonToString</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.pythonToString" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.stringToPython">
<code class="descname">stringToPython</code><span class="sig-paren">(</span><em>string</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.stringToPython" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.SimpleTypeDefinition.variety">
<code class="descname">variety</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.variety" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures.Wildcard">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">Wildcard</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._ParticleTree_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._SchemaComponent_mixin</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>An XMLSchema Wildcard&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cParticle">http://www.w3.org/TR/xmlschema-1/#cParticle</a>&gt; component.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Wildcard.CreateFromDOM">
<em class="property">classmethod </em><code class="descname">CreateFromDOM</code><span class="sig-paren">(</span><em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.CreateFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Wildcard.IntensionalIntersection">
<em class="property">classmethod </em><code class="descname">IntensionalIntersection</code><span class="sig-paren">(</span><em>constraints</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.IntensionalIntersection" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-aw-intersect">http://www.w3.org/TR/xmlschema-1/#cos-aw-intersect</a></p>
</dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures.Wildcard.IntensionalUnion">
<em class="property">classmethod </em><code class="descname">IntensionalUnion</code><span class="sig-paren">(</span><em>constraints</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.IntensionalUnion" title="Permalink to this definition">¶</a></dt>
<dd><p><a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-aw-union">http://www.w3.org/TR/xmlschema-1/#cos-aw-union</a></p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_any">
<code class="descname">NC_any</code><em class="property"> = '##any'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_any" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_local">
<code class="descname">NC_local</code><em class="property"> = '##local'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_local" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_not">
<code class="descname">NC_not</code><em class="property"> = '##other'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_not" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.NC_targetNamespace">
<code class="descname">NC_targetNamespace</code><em class="property"> = '##targetNamespace'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.NC_targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.PC_lax">
<code class="descname">PC_lax</code><em class="property"> = 'lax'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.PC_lax" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.PC_skip">
<code class="descname">PC_skip</code><em class="property"> = 'skip'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.PC_skip" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard.PC_strict">
<code class="descname">PC_strict</code><em class="property"> = 'strict'</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.PC_strict" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard._Wildcard__namespaceConstraint">
<code class="descname">_Wildcard__namespaceConstraint</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._Wildcard__namespaceConstraint" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures.Wildcard._Wildcard__processContents">
<code class="descname">_Wildcard__processContents</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._Wildcard__processContents" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard._adaptForScope">
<code class="descname">_adaptForScope</code><span class="sig-paren">(</span><em>owner</em>, <em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._adaptForScope" title="Permalink to this definition">¶</a></dt>
<dd><p>Wildcards are scope-independent; return self</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.hasWildcardElement">
<code class="descname">hasWildcardElement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.hasWildcardElement" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True, since Wildcard components are wildcards.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.isAdaptable">
<code class="descname">isAdaptable</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.isAdaptable" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.namespaceConstraint">
<code class="descname">namespaceConstraint</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.namespaceConstraint" title="Permalink to this definition">¶</a></dt>
<dd><p>A constraint on the namespace for the wildcard.</p>
<dl class="docutils">
<dt>Valid values are:</dt>
<dd><ul class="first last simple">
<li><a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard.NC_any" title="pyxb.xmlschema.structures.Wildcard.NC_any"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard.NC_any</span></code></a></li>
<li>A tuple ( <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard.NC_not" title="pyxb.xmlschema.structures.Wildcard.NC_not"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard.NC_not</span></code></a>, a_namespace )</li>
<li>set(of_namespaces)</li>
</ul>
</dd>
</dl>
<p>Note that namespace are represented by
<a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.Namespace" title="pyxb.namespace.Namespace"><code class="xref py py-obj docutils literal"><span class="pre">Namespace</span></code></a> instances, not the URIs that
actually define a namespace.  Absence of a namespace is represented by
<code class="xref py py-obj docutils literal"><span class="pre">None</span></code>, both in the &#8220;not&#8221; pair and in the set.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures.Wildcard.processContents">
<code class="descname">processContents</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures.Wildcard.processContents" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt id="pyxb.xmlschema.structures._AddSimpleTypes">
<code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_AddSimpleTypes</code><span class="sig-paren">(</span><em>namespace</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AddSimpleTypes" title="Permalink to this definition">¶</a></dt>
<dd><p>Add to the schema the definitions of the built-in types of XMLSchema.
This should only be invoked by <a class="reference internal" href="pyxb.namespace.html#module-pyxb.namespace" title="pyxb.namespace"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace</span></code></a> when the built-in
namespaces are initialized.</p>
</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._Annotated_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_Annotated_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in that supports an optional single annotation that describes the component.</p>
<p>Most schema components have annotations.  The ones that don&#8217;t are
<a class="reference internal" href="#pyxb.xmlschema.structures.AttributeUse" title="pyxb.xmlschema.structures.AttributeUse"><code class="xref py py-obj docutils literal"><span class="pre">AttributeUse</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a>, and <a class="reference internal" href="#pyxb.xmlschema.structures.Annotation" title="pyxb.xmlschema.structures.Annotation"><code class="xref py py-obj docutils literal"><span class="pre">Annotation</span></code></a>.  <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">ComplexTypeDefinition</span></code></a>
and <a class="reference internal" href="#pyxb.xmlschema.structures.Schema" title="pyxb.xmlschema.structures.Schema"><code class="xref py py-obj docutils literal"><span class="pre">Schema</span></code></a> support multiple annotations, so do not mix-in this
class.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._Annotated_mixin._Annotated_mixin__annotation">
<code class="descname">_Annotated_mixin__annotation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin._Annotated_mixin__annotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._Annotated_mixin._annotationFromDOM">
<code class="descname">_annotationFromDOM</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin._annotationFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._Annotated_mixin._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>Post-extended; description in leaf implementation in
ComplexTypeDefinition and SimpleTypeDefinition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._Annotated_mixin.annotation">
<code class="descname">annotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Annotated_mixin.annotation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_AttributeWildcard_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Support for components that accept attribute wildcards.</p>
<p>That is <a class="reference internal" href="#pyxb.xmlschema.structures.AttributeGroupDefinition" title="pyxb.xmlschema.structures.AttributeGroupDefinition"><code class="xref py py-obj docutils literal"><span class="pre">AttributeGroupDefinition</span></code></a> and <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-obj docutils literal"><span class="pre">ComplexTypeDefinition</span></code></a>.  The
calculations of the appropriate wildcard are sufficiently complex that
they need to be abstracted out to a mix-in class.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin.CompleteWildcard">
<em class="property">classmethod </em><code class="descname">CompleteWildcard</code><span class="sig-paren">(</span><em>namespace_context</em>, <em>attribute_groups</em>, <em>local_wildcard</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin.CompleteWildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Implement the algorithm as described the
specification&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#declare-type">http://www.w3.org/TR/xmlschema-1/#declare-type</a>&gt;.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>namespace_context</strong> &#8211; The <code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.NamespaceContext</span></code> to be</td>
</tr>
</tbody>
</table>
<p>associated with any created <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a> instance
:param attribute_groups: A list of <a class="reference internal" href="#pyxb.xmlschema.structures.AttributeGroupDefinition" title="pyxb.xmlschema.structures.AttributeGroupDefinition"><code class="xref py py-obj docutils literal"><span class="pre">AttributeGroupDefinition</span></code></a> instances
:param local_wildcard: A <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a> instance computed from a relevant
XMLSchema <code class="xref py py-obj docutils literal"><span class="pre">anyAttribute</span></code> element, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if no attribute wildcard
is relevant</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin._AttributeWildcard_mixin__attributeWildcard">
<code class="descname">_AttributeWildcard_mixin__attributeWildcard</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin._AttributeWildcard_mixin__attributeWildcard" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin._attributeRelevantChildren">
<code class="descname">_attributeRelevantChildren</code><span class="sig-paren">(</span><em>node_list</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin._attributeRelevantChildren" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the nodes that are relevant for attribute processing.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>node_list</strong> &#8211; A sequence of nodes found in a definition content</td>
</tr>
</tbody>
</table>
<p>information item.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A tuple <code class="xref py py-obj docutils literal"><span class="pre">(</span> <span class="pre">attributes,</span> <span class="pre">attributeGroups,</span> <span class="pre">attributeWildcard)</span></code></td>
</tr>
</tbody>
</table>
<p>where <code class="xref py py-obj docutils literal"><span class="pre">attributes</span></code> is the subsequence of <code class="xref py py-obj docutils literal"><span class="pre">node_list</span></code> that are
XMLSchema <code class="xref py py-obj docutils literal"><span class="pre">attribute</span></code> nodes; <code class="xref py py-obj docutils literal"><span class="pre">attributeGroups</span></code> is analogous; and
<a class="reference internal" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard" title="pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard"><code class="xref py py-obj docutils literal"><span class="pre">attributeWildcard</span></code></a> is a single DOM node with XMLSchema name
<code class="xref py py-obj docutils literal"><span class="pre">anyAttribute</span></code> (or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code>, if no such node is present in the list).</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Raises:</th><td class="field-body"><strong>pyxb.SchemaValidationError</strong> &#8211; An <code class="xref py py-obj docutils literal"><span class="pre">attributeGroup</span></code> node is</td>
</tr>
</tbody>
</table>
<p>present but does not have the required <code class="xref py py-obj docutils literal"><span class="pre">ref</span></code> attribute.
:raise pyxb.SchemaValidationError: Multiple <code class="xref py py-obj docutils literal"><span class="pre">anyAttribute</span></code> nodes are
identified.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin._setAttributeWildcard">
<code class="descname">_setAttributeWildcard</code><span class="sig-paren">(</span><em>attribute_wildcard</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin._setAttributeWildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the attribute wildcard property for this instance.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard">
<code class="descname">attributeWildcard</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._AttributeWildcard_mixin.attributeWildcard" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the <a class="reference internal" href="#pyxb.xmlschema.structures.Wildcard" title="pyxb.xmlschema.structures.Wildcard"><code class="xref py py-obj docutils literal"><span class="pre">Wildcard</span></code></a> component associated with attributes of this
instance, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if attribute wildcards are not present in the
instance.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ImportElementInformationItem</code><span class="sig-paren">(</span><em>importing_schema</em>, <em>node</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures._Annotated_mixin" title="pyxb.xmlschema.structures._Annotated_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Annotated_mixin</span></code></a></p>
<p>Data associated with an
import&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#composition-schemaImport">http://www.w3.org/TR/xmlschema-1/#composition-schemaImport</a>&gt;
statement within a schema.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__id">
<code class="descname">_ImportElementInformationItem__id</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__id" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__namespace">
<code class="descname">_ImportElementInformationItem__namespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__namespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__prefix">
<code class="descname">_ImportElementInformationItem__prefix</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__prefix" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schema">
<code class="descname">_ImportElementInformationItem__schema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schemaLocation">
<code class="descname">_ImportElementInformationItem__schemaLocation</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem._ImportElementInformationItem__schemaLocation" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.id">
<code class="descname">id</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.id" title="Permalink to this definition">¶</a></dt>
<dd><p>The value of the <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.id" title="pyxb.xmlschema.structures._ImportElementInformationItem.id"><code class="xref py py-obj docutils literal"><span class="pre">id</span></code></a> attribute from the import statement.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.namespace">
<code class="descname">namespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.namespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.Namespace" title="pyxb.namespace.Namespace"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.Namespace</span></code></a> instance corresponding to the value
of the <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.namespace" title="pyxb.xmlschema.structures._ImportElementInformationItem.namespace"><code class="xref py py-obj docutils literal"><span class="pre">namespace</span></code></a> attribute from the import statement.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.prefix">
<code class="descname">prefix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.prefix" title="Permalink to this definition">¶</a></dt>
<dd><p>The prefix from a namespace declaration for <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.namespace" title="pyxb.xmlschema.structures._ImportElementInformationItem.namespace"><code class="xref py py-obj docutils literal"><span class="pre">namespace</span></code></a> that was
active in the context of the import element, or <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if there was
no relevant namespace declaration in scope at that point.</p>
<p>This is propagated to be used as the default prefix for the
corresponding namespace if no prefix had been assigned.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.schema">
<code class="descname">schema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.schema" title="Permalink to this definition">¶</a></dt>
<dd><p>The <a class="reference internal" href="#pyxb.xmlschema.structures.Schema" title="pyxb.xmlschema.structures.Schema"><code class="xref py py-obj docutils literal"><span class="pre">Schema</span></code></a> instance corresponding to the imported schema, if
available.</p>
<p>Normally <code class="xref py py-obj docutils literal"><span class="pre">import</span></code> statements will be fulfilled by loading components
from a <code class="xref py py-obj docutils literal"><span class="pre">namespace</span> <span class="pre">archive</span></code> in which
the corresponding namespace is marked as public.  Where there are
cycles in the namespace dependency graph, or the schema for a
namespace are associated with a restricted profile of another
namespace, there may be no such archive and instead the components are
obtained using this schema.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation">
<code class="descname">schemaLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation" title="Permalink to this definition">¶</a></dt>
<dd><p>The value of the <a class="reference internal" href="#pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation" title="pyxb.xmlschema.structures._ImportElementInformationItem.schemaLocation"><code class="xref py py-obj docutils literal"><span class="pre">schemaLocation</span></code></a> attribute from the import
statement, normalized relative to the location of the importing
schema.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_NamedComponent_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.PrivateTransient_mixin" title="pyxb.utils.utility.PrivateTransient_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.utils.utility.PrivateTransient_mixin</span></code></a>, <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in to hold the name and targetNamespace of a component.</p>
<p>The name may be None, indicating an anonymous component.  The
targetNamespace is never None, though it could be an empty namespace.  The
name and targetNamespace values are immutable after creation.</p>
<p>This class overrides the pickling behavior: when pickling a Namespace,
objects that do not belong to that namespace are pickled as references,
not as values.  This ensures the uniqueness of objects when multiple
namespace definitions are pre-loaded.</p>
<p>This class must follow <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="pyxb.xmlschema.structures._SchemaComponent_mixin"><code class="xref py py-obj docutils literal"><span class="pre">_SchemaComponent_mixin</span></code></a> in the MRO.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__AnonymousCategory">
<code class="descname">_NamedComponent_mixin__AnonymousCategory</code><em class="property"> = '_anonymousTypeDefinition'</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__AnonymousCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__PrivateTransient">
<code class="descname">_NamedComponent_mixin__PrivateTransient</code><em class="property"> = set(['schema'])</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__anonymousName">
<code class="descname">_NamedComponent_mixin__anonymousName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__bindingNamespace">
<code class="descname">_NamedComponent_mixin__bindingNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__bindingNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__name">
<code class="descname">_NamedComponent_mixin__name</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__needAnonymousSupport">
<code class="descname">_NamedComponent_mixin__needAnonymousSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__needAnonymousSupport" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__pickleAsReference">
<code class="descname">_NamedComponent_mixin__pickleAsReference</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__pickleAsReference" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__schema">
<code class="descname">_NamedComponent_mixin__schema</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__schema" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__targetNamespace">
<code class="descname">_NamedComponent_mixin__targetNamespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__templateMap">
<code class="descname">_NamedComponent_mixin__templateMap</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._NamedComponent_mixin__templateMap" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._anonymousName">
<code class="descname">_anonymousName</code><span class="sig-paren">(</span><em>namespace=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace">
<code class="descname">_bindsInNamespace</code><span class="sig-paren">(</span><em>ns</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> if the binding for this component should be
generated in the given namespace.</p>
<p>This is the case when the component is in the given namespace.  It&#8217;s
also the case when the component has no associated namespace (but not
an absent namespace).  Be aware that cross-namespace inheritance means
you will get references to elements in another namespace when
generating code for a subclass; that&#8217;s fine, and those references
should not be generated locally.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._picklesInArchive">
<code class="descname">_picklesInArchive</code><span class="sig-paren">(</span><em>archive</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._picklesInArchive" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> if this component should be pickled by value in the
given namespace.</p>
<p>When pickling, a declaration component is considered to belong to the
namespace if it has a local scope which belongs to the namespace.  In
that case, the declaration is a clone of something that does not
belong to the namespace; but the clone does.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">See:</th><td class="field-body"><a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace" title="pyxb.xmlschema.structures._NamedComponent_mixin._bindsInNamespace"><code class="xref py py-obj docutils literal"><span class="pre">_bindsInNamespace</span></code></a></td>
</tr>
<tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><code class="xref py py-obj docutils literal"><span class="pre">False</span></code> if the component should be pickled by reference.</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._picklingReference">
<code class="descname">_picklingReference</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._picklingReference" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._prepareForArchive_csc">
<code class="descname">_prepareForArchive_csc</code><span class="sig-paren">(</span><em>module_record</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._prepareForArchive_csc" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._resetClone_csc">
<code class="descname">_resetClone_csc</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._resetClone_csc" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._schema">
<code class="descname">_schema</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._schema" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the schema component from which this component was defined.</p>
<p>Needed so we can distinguish components that came from different
locations, since that imposes an external order dependency on them and
on cross-namespace inclusions.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">This characteristic is removed when the component is stored in</td>
</tr>
</tbody>
</table>
<p>a namespace archive.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._setAnonymousName">
<code class="descname">_setAnonymousName</code><span class="sig-paren">(</span><em>namespace</em>, <em>unique_id=None</em>, <em>anon_name=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._setAnonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._setBindingNamespace">
<code class="descname">_setBindingNamespace</code><span class="sig-paren">(</span><em>namespace</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._setBindingNamespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin._templateMap">
<code class="descname">_templateMap</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin._templateMap" title="Permalink to this definition">¶</a></dt>
<dd><p>A map from template keys to component-specific values.</p>
<p>This is used in code generation to maintain unique names for accessor
methods, identifiers, keys, and other characteristics associated with
the code generated in support of the binding for this component.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.bindingNamespace">
<code class="descname">bindingNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.bindingNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The namespace in which this component&#8217;s binding is placed.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.expandedName">
<code class="descname">expandedName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.expandedName" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.ExpandedName" title="pyxb.namespace.ExpandedName"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.ExpandedName</span></code></a> of this object.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isAnonymous">
<code class="descname">isAnonymous</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isAnonymous" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true iff this instance is locally scoped (has no name).</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isDerivationConsistent">
<code class="descname">isDerivationConsistent</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isDerivationConsistent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this type can serve as a restriction of the other
type for the purposes of element consistency&lt;<a class="reference external" href="http://www.w3.org/TR/xmlschema-1/#cos-element-consistent">http://www.w3.org/TR/xmlschema-1/#cos-element-consistent</a>&gt;.</p>
<p>It appears that name equivalence is normally used; two complex type
definitions with identical structures are not considered equivalent
(at least, per XMLSpy).  However, some OpenGIS standards demonstrate
that derivation by restriction from the other type is also acceptable.
That opens a whole can of worms; see
<a class="reference internal" href="#pyxb.xmlschema.structures.ElementDeclaration.isAdaptable" title="pyxb.xmlschema.structures.ElementDeclaration.isAdaptable"><code class="xref py py-obj docutils literal"><span class="pre">ElementDeclaration.isAdaptable</span></code></a>.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isNameEquivalent">
<code class="descname">isNameEquivalent</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isNameEquivalent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return true iff this and the other component share the same name and target namespace.</p>
<p>Anonymous components are inherently name inequivalent, except to
themselves.  This relies on equivalence as defined for
pyxb.namespace.ExpandedName, for which None is not equivalent to any
non-anonymous name.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.isTypeEquivalent">
<code class="descname">isTypeEquivalent</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.isTypeEquivalent" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this and the other component have matching types.</p>
<p>It appears that name equivalence is used; two complex type definitions
with identical structures are not considered equivalent (at least, per
XMLSpy).</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.name">
<code class="descname">name</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.name" title="Permalink to this definition">¶</a></dt>
<dd><p>Name of the component within its scope or namespace.</p>
<p>This is an NCName.  The value isNone if the component is
anonymous.  The attribute is immutable after the component is
created creation.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._NamedComponent_mixin.targetNamespace">
<code class="descname">targetNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._NamedComponent_mixin.targetNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>The targetNamespace of a component.</p>
<p>This is None, or a reference to a Namespace in which the
component is declared (either as a global or local to one of
the namespace&#8217;s complex type definitions).  This is immutable
after creation.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ParticleTree_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ParticleTree_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<dl class="method">
<dt id="pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree">
<code class="descname">_walkParticleTree</code><span class="sig-paren">(</span><em>visit</em>, <em>arg</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ParticleTree_mixin._walkParticleTree" title="Permalink to this definition">¶</a></dt>
<dd><p>Mix-in supporting walks of <a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> trees.</p>
<p>This invokes a provided function on each node in a tree defining the
content model of a particle, both on the way down the tree and on the
way back up.  A standard implementation would be:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">_walkParticleTree</span> <span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">visit</span><span class="p">,</span> <span class="n">arg</span><span class="p">):</span>
  <span class="n">visit</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="kc">True</span><span class="p">,</span> <span class="n">arg</span><span class="p">)</span>
  <span class="bp">self</span><span class="o">.</span><span class="n">__term</span><span class="o">.</span><span class="n">walkParticleTree</span><span class="p">(</span><span class="n">visit</span><span class="p">,</span> <span class="n">arg</span><span class="p">)</span>
  <span class="n">visit</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="kc">False</span><span class="p">,</span> <span class="n">arg</span><span class="p">)</span>
</pre></div>
</div>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>visit</strong> &#8211; A callable with parameters <code class="xref py py-obj docutils literal"><span class="pre">node,</span> <span class="pre">entering,</span> <span class="pre">arg</span></code> where</td>
</tr>
</tbody>
</table>
<p><code class="xref py py-obj docutils literal"><span class="pre">node</span></code> is an instance of a class inheriting <a class="reference internal" href="#pyxb.xmlschema.structures._ParticleTree_mixin" title="pyxb.xmlschema.structures._ParticleTree_mixin"><code class="xref py py-obj docutils literal"><span class="pre">_ParticleTree_mixin</span></code></a>,
<code class="xref py py-obj docutils literal"><span class="pre">entering</span></code> indicates tree transition status, and <code class="xref py py-obj docutils literal"><span class="pre">arg</span></code> is a
caller-provided state parameter.  <code class="xref py py-obj docutils literal"><span class="pre">entering</span></code> is <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> if <code class="xref py py-obj docutils literal"><span class="pre">node</span></code>
has particle children and the call is before they are visited;
<code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if the <code class="xref py py-obj docutils literal"><span class="pre">node</span></code> has no particle children; and <code class="xref py py-obj docutils literal"><span class="pre">False</span></code> if
<code class="xref py py-obj docutils literal"><span class="pre">node</span></code> has particle children and they have been visited.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>arg</strong> &#8211; The caller-provided state parameter to be passed along</td>
</tr>
</tbody>
</table>
<p>with the node and entry/exit status in the invocation of <code class="xref py py-obj docutils literal"><span class="pre">visit</span></code>.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_PickledAnonymousReference</code><span class="sig-paren">(</span><em>namespace</em>, <em>anonymous_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
<p>A helper that encapsulates a reference to an anonymous type in a different namespace.</p>
<p>Normally references to components in other namespaces can be made using
the component&#8217;s name.  This is not the case when a namespace derives from
a base type in another namespace and needs to reference the attribute or
element declarations held in that type.  If these declarations are local
to the base complex type, they cannot be identified by name.  This class
provides a pickleable representation for them that behaves rather like an
<a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.ExpandedName" title="pyxb.namespace.ExpandedName"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.namespace.ExpandedName</span></code></a> instance in that it can be used to
dereference various component types.</p>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.FromPickled">
<em class="property">classmethod </em><code class="descname">FromPickled</code><span class="sig-paren">(</span><em>object_reference</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.FromPickled" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the component referred to by the provided reference,
regardless of whether it is a normal or anonymous reference.</p>
</dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__AnonymousCategory">
<code class="descname">_PickledAnonymousReference__AnonymousCategory</code><em class="property"> = '_anonymousTypeDefinition'</em><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__AnonymousCategory" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__anonymousName">
<code class="descname">_PickledAnonymousReference__anonymousName</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__lookupObject">
<code class="descname">_PickledAnonymousReference__lookupObject</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__lookupObject" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__namespace">
<code class="descname">_PickledAnonymousReference__namespace</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference._PickledAnonymousReference__namespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.anonymousName">
<code class="descname">anonymousName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.anonymousName" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.attributeDeclaration">
<code class="descname">attributeDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.attributeDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.attributeGroupDefinition">
<code class="descname">attributeGroupDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.attributeGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.elementDeclaration">
<code class="descname">elementDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.elementDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.identityConstraintDefinition">
<code class="descname">identityConstraintDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.identityConstraintDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.modelGroupDefinition">
<code class="descname">modelGroupDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.modelGroupDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.namespace">
<code class="descname">namespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.namespace" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.notationDeclaration">
<code class="descname">notationDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.notationDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.typeDefinition">
<code class="descname">typeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.typeDefinition" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._PickledAnonymousReference.validateComponentModel">
<code class="descname">validateComponentModel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._PickledAnonymousReference.validateComponentModel" title="Permalink to this definition">¶</a></dt>
<dd><p>Forward to the associated namespace.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_SchemaComponent_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace._ComponentDependency_mixin" title="pyxb.namespace._ComponentDependency_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace._ComponentDependency_mixin</span></code></a>, <a class="reference internal" href="pyxb.namespace.html#pyxb.namespace.archive._ArchivableObject_mixin" title="pyxb.namespace.archive._ArchivableObject_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.namespace.archive._ArchivableObject_mixin</span></code></a>, <a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.PrivateTransient_mixin" title="pyxb.utils.utility.PrivateTransient_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.utils.utility.PrivateTransient_mixin</span></code></a>, <a class="reference internal" href="pyxb.utils.html#pyxb.utils.utility.Locatable_mixin" title="pyxb.utils.utility.Locatable_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.utils.utility.Locatable_mixin</span></code></a></p>
<p>A mix-in that marks the class as representing a schema component.</p>
<p>This exists so that we can determine the owning schema for any
component we encounter.  This is normally done at construction
time by passing a <code class="xref py py-obj docutils literal"><span class="pre">schema=val</span></code> parameter to the constructor.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__PrivateTransient">
<code class="descname">_SchemaComponent_mixin__PrivateTransient</code><em class="property"> = set(['ownedComponent', 'clones', 'namespaceContext', 'owner', 'facStateSortKey', 'cloneSource'])</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__PrivateTransient" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__cloneSource">
<code class="descname">_SchemaComponent_mixin__cloneSource</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__cloneSource" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__clones">
<code class="descname">_SchemaComponent_mixin__clones</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__clones" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__facStateSortKey">
<code class="descname">_SchemaComponent_mixin__facStateSortKey</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__facStateSortKey" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__nameInBinding">
<code class="descname">_SchemaComponent_mixin__nameInBinding</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__nameInBinding" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__namespaceContext">
<code class="descname">_SchemaComponent_mixin__namespaceContext</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__namespaceContext" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__ownedComponents">
<code class="descname">_SchemaComponent_mixin__ownedComponents</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__ownedComponents" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__owner">
<code class="descname">_SchemaComponent_mixin__owner</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__owner" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__schemaOrderSortKey">
<code class="descname">_SchemaComponent_mixin__schemaOrderSortKey</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__schemaOrderSortKey" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__scope">
<code class="descname">_SchemaComponent_mixin__scope</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__scope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__uniqueNameInBinding">
<code class="descname">_SchemaComponent_mixin__uniqueNameInBinding</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._SchemaComponent_mixin__uniqueNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._clearNamespaceContext">
<code class="descname">_clearNamespaceContext</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._clearNamespaceContext" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._clone">
<code class="descname">_clone</code><span class="sig-paren">(</span><em>owner</em>, <em>origin</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._clone" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a copy of this instance suitable for adoption by some other
component.</p>
<p>This is used for creating a locally-scoped declaration from a
declaration in a named model or attribute group.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._cloneSource">
<code class="descname">_cloneSource</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._cloneSource" title="Permalink to this definition">¶</a></dt>
<dd><p>The source component from which this is a clone.</p>
<p>Returns <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> if this is not a clone.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._clones">
<code class="descname">_clones</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._clones" title="Permalink to this definition">¶</a></dt>
<dd><p>The set of instances cloned from this component.</p>
<p>Returns None if no instances have been cloned from this.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._dissociateFromNamespace">
<code class="descname">_dissociateFromNamespace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._dissociateFromNamespace" title="Permalink to this definition">¶</a></dt>
<dd><p>Dissociate this component from its owning namespace.</p>
<p>This should only be done whwen there are no other references to the
component, and you want to ensure it does not appear in the model.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._namespaceContext">
<code class="descname">_namespaceContext</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._namespaceContext" title="Permalink to this definition">¶</a></dt>
<dd><p>The namespace context for this schema.</p>
<p>This defines where it looks things up, where it puts things it
creates, the in-scope namespace declarations, etc.  Must be defined
for anything that does any sort of QName interpretation.  The value is
generally a reference to a namespace context associated with the DOM
element node corresponding to this component.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._resetClone_csc">
<code class="descname">_resetClone_csc</code><span class="sig-paren">(</span><em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._resetClone_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Virtual method to clear whatever attributes should be reset in a
cloned component.</p>
<p>This instance should be an instance created by copy.copy().</p>
<p>The implementation in this class clears the owner and dependency
relations.</p>
<p>Returns <code class="xref py py-obj docutils literal"><span class="pre">self</span></code>.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._scope">
<code class="descname">_scope</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._scope" title="Permalink to this definition">¶</a></dt>
<dd><p>The context into which declarations in or subordinate to this node are placed.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsGlobal">
<code class="descname">_scopeIsGlobal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsGlobal" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this component has global scope.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsIndeterminate">
<code class="descname">_scopeIsIndeterminate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._scopeIsIndeterminate" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff nobody has defined a scope for this node.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._setFacStateSortKey">
<code class="descname">_setFacStateSortKey</code><span class="sig-paren">(</span><em>key</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._setFacStateSortKey" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the automata state sort key.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>key</strong> &#8211; the ordinal used for sorting.</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._setOwner">
<code class="descname">_setOwner</code><span class="sig-paren">(</span><em>owner</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._setOwner" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the owner of this component.</p>
<p>If <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.owner" title="pyxb.xmlschema.structures._SchemaComponent_mixin.owner"><code class="xref py py-obj docutils literal"><span class="pre">owner</span></code></a> is <code class="xref py py-obj docutils literal"><span class="pre">None</span></code>, this has no effect.  Otherwise, the
component&#8217;s current owner must be either <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> or the same as the
input <a class="reference internal" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.owner" title="pyxb.xmlschema.structures._SchemaComponent_mixin.owner"><code class="xref py py-obj docutils literal"><span class="pre">owner</span></code></a>.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._setScope">
<code class="descname">_setScope</code><span class="sig-paren">(</span><em>ctd</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._setScope" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the scope of this instance after construction.</p>
<p>This should only be invoked on cloned declarations being incorporated
into a complex type definition.  Note that the source of the clone may
be any scope: indeterminate if from a model (attribute) group
definition; global if a reference to a global component; or ctd if
inherited from a complex base type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin._updateFromOther_csc">
<code class="descname">_updateFromOther_csc</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin._updateFromOther_csc" title="Permalink to this definition">¶</a></dt>
<dd><p>Override fields in this instance with those from the other.</p>
<p>Post-extended; description in leaf implementation in
ComplexTypeDefinition and SimpleTypeDefinition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.bestNCName">
<code class="descname">bestNCName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.bestNCName" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name of this component, as best it can be determined.</p>
<p>For example, ModelGroup instances will be named by their
ModelGroupDefinition, if available.  Returns None if no name can be
inferred.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.facStateSortKey">
<code class="descname">facStateSortKey</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.facStateSortKey" title="Permalink to this definition">¶</a></dt>
<dd><p>A sort key matching preferred content order.</p>
<p>This is an ordinal (integer) used to control which candidate
transitions are attempted first when testing symbols against the
content automaton state.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">The value associated with a node (especially a <a class="reference internal" href="#pyxb.xmlschema.structures.ModelGroup" title="pyxb.xmlschema.structures.ModelGroup"><code class="xref py py-obj docutils literal"><span class="pre">ModelGroup</span></code></a> or</td>
</tr>
</tbody>
</table>
<p><a class="reference internal" href="#pyxb.xmlschema.structures.Particle" title="pyxb.xmlschema.structures.Particle"><code class="xref py py-obj docutils literal"><span class="pre">Particle</span></code></a> will be different for different complex types, and is
valid only during generation of the automata code for a given type.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.hasBinding">
<code class="descname">hasBinding</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.hasBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <code class="xref py py-obj docutils literal"><span class="pre">True</span></code> iff this is a component which has a user-visible
Python construct which serves as its binding.</p>
<p>Type definitions have classes as their bindings.  Global element
declarations have instances of <a class="reference internal" href="pyxb.binding.html#pyxb.binding.basis.element" title="pyxb.binding.basis.element"><code class="xref py py-obj docutils literal"><span class="pre">pyxb.binding.basis.element</span></code></a> as their
bindings.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.isTypeDefinition">
<code class="descname">isTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.isTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this component is a simple or complex type
definition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.isUrTypeDefinition">
<code class="descname">isUrTypeDefinition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.isUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True iff this component is a simple or complex type
definition.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.nameInBinding">
<code class="descname">nameInBinding</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.nameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name by which this component is known in the binding module.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Note:</th><td class="field-body">To support builtin datatypes, type definitions with an</td>
</tr>
</tbody>
</table>
<p>associated <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport" title="pyxb.xmlschema.structures.SimpleTypeDefinition.pythonSupport"><code class="xref py py-obj docutils literal"><span class="pre">pythonSupport</span></code></a> class
initialize their binding name from the class name when the support
association is created.  As long as no built-in datatype conflicts
with a language keyword, this should be fine.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.owner">
<code class="descname">owner</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.owner" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.schemaOrderSortKey">
<code class="descname">schemaOrderSortKey</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.schemaOrderSortKey" title="Permalink to this definition">¶</a></dt>
<dd><p>A key to be used when sorting components for binding generation.</p>
<p>This is a tuple comprising the namespace URI, schema location, and
line and column of the component definition within the schema.  The
purpose is to ensure consistent order of binding components in
generated code, to simplify maintenance involving the generated
sources.</p>
<p>To support Python 3 values that are <code class="xref py py-obj docutils literal"><span class="pre">None</span></code> are replaced with the
default value for whatever type belongs in the corresponding
position: (uri:str, locbase:str, locline:int, loccol:int)</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.setNameInBinding">
<code class="descname">setNameInBinding</code><span class="sig-paren">(</span><em>name_in_binding</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.setNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the name by which this component shall be known in the binding module.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.setUniqueNameInBinding">
<code class="descname">setUniqueNameInBinding</code><span class="sig-paren">(</span><em>unique_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.setUniqueNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the name by which this component shall be known in the binding class.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._SchemaComponent_mixin.uniqueNameInBinding">
<code class="descname">uniqueNameInBinding</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SchemaComponent_mixin.uniqueNameInBinding" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the name by which this component is known in the binding class.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ScopedDeclaration_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in class for named components that have a scope.</p>
<p>Scope is important when doing cross-namespace inheritance,
e.g. extending or restricting a complex type definition that is
from a different namespace.  In this case, we will need to retain
a reference to the external component when the schema is
serialized.</p>
<p>This is done in the pickling process by including the scope when
pickling a component as a reference.  The scope is the
SCOPE_global if global; otherwise, it is a tuple containing the
external namespace URI and the NCName of the complex type
definition in that namespace.  We assume that the complex type
definition has global scope; otherwise, it should not have been
possible to extend or restrict it.  (Should this be untrue, there
are comments in the code about a possible solution.)</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Warning:</th><td class="field-body">This mix-in must follow <a class="reference internal" href="#pyxb.xmlschema.structures._NamedComponent_mixin" title="pyxb.xmlschema.structures._NamedComponent_mixin"><code class="xref py py-obj docutils literal"><span class="pre">_NamedComponent_mixin</span></code></a> in the <code class="xref py py-obj docutils literal"><span class="pre">mro</span></code>.</td>
</tr>
</tbody>
</table>
<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.IsValidScope">
<em class="property">classmethod </em><code class="descname">IsValidScope</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.IsValidScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.SCOPE_global">
<code class="descname">SCOPE_global</code><em class="property"> = 'global'</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.SCOPE_global" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsGlobal">
<em class="property">classmethod </em><code class="descname">ScopeIsGlobal</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsGlobal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="classmethod">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsIndeterminate">
<em class="property">classmethod </em><code class="descname">ScopeIsIndeterminate</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.ScopeIsIndeterminate" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.XSCOPE_indeterminate">
<code class="descname">XSCOPE_indeterminate</code><em class="property"> = 'indeterminate'</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.XSCOPE_indeterminate" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__baseDeclaration">
<code class="descname">_ScopedDeclaration_mixin__baseDeclaration</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__baseDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__overridesParentScope">
<code class="descname">_ScopedDeclaration_mixin__overridesParentScope</code><em class="property"> = False</em><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._ScopedDeclaration_mixin__overridesParentScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._baseDeclaration">
<code class="descname">_baseDeclaration</code><span class="sig-paren">(</span><em>referenced_declaration</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._baseDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._overrideParentScope">
<code class="descname">_overrideParentScope</code><span class="sig-paren">(</span><em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._overrideParentScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin._scopeIsCompatible">
<code class="descname">_scopeIsCompatible</code><span class="sig-paren">(</span><em>scope</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin._scopeIsCompatible" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if this scope currently assigned to this instance is compatible with the given scope.</p>
<p>If either scope is indeterminate, presume they will ultimately be
compatible.  Scopes that are equal are compatible, as is a local scope
if this already has a global scope.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.baseDeclaration">
<code class="descname">baseDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.baseDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.overriddenDeclaration">
<code class="descname">overriddenDeclaration</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.overriddenDeclaration" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.overridesParentScope">
<code class="descname">overridesParentScope</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.overridesParentScope" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ScopedDeclaration_mixin.scope">
<code class="descname">scope</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ScopedDeclaration_mixin.scope" title="Permalink to this definition">¶</a></dt>
<dd><p>The scope for the declaration.</p>
<p>Valid values are SCOPE_global, or a complex type definition.
A value of None means a non-global declaration that is not
owned by a complex type definition.  These can only appear in
attribute group definitions, model group definitions, and element
declarations.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Todo:</th><td class="field-body">For declarations in named model groups (viz., local</td>
</tr>
</tbody>
</table>
<p>elements that aren&#8217;t references), the scope needs to be set by
the owning complex type.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._SimpleUrTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_SimpleUrTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._SimpleUrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures.SimpleTypeDefinition" title="pyxb.xmlschema.structures.SimpleTypeDefinition"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures.SimpleTypeDefinition</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Singleton_mixin" title="pyxb.xmlschema.structures._Singleton_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Singleton_mixin</span></code></a></p>
<p>Subclass ensures there is only one simple ur-type.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._SimpleUrTypeDefinition.__SimpleUrTypeDefinition__singleton">
<code class="descname">__SimpleUrTypeDefinition__singleton</code><em class="property"> = &lt;pyxb.xmlschema.structures._SimpleUrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures._SimpleUrTypeDefinition.__SimpleUrTypeDefinition__singleton" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._Singleton_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_Singleton_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._Singleton_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>This class is a mix-in which guarantees that only one instance
of the class will be created.  It is used to ensure that the
ur-type instances are pointer-equivalent even when unpickling.
See ComplexTypeDefinition.UrTypeDefinition().</p>
</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_UrTypeDefinition</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pyxb.xmlschema.structures.ComplexTypeDefinition" title="pyxb.xmlschema.structures.ComplexTypeDefinition"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures.ComplexTypeDefinition</span></code></a>, <a class="reference internal" href="#pyxb.xmlschema.structures._Singleton_mixin" title="pyxb.xmlschema.structures._Singleton_mixin"><code class="xref py py-class docutils literal"><span class="pre">pyxb.xmlschema.structures._Singleton_mixin</span></code></a></p>
<p>Subclass ensures there is only one ur-type.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition.__UrTypeDefinition__singleton">
<code class="descname">__UrTypeDefinition__singleton</code><em class="property"> = &lt;pyxb.xmlschema.structures._UrTypeDefinition object&gt;</em><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition.__UrTypeDefinition__singleton" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition._resolve">
<code class="descname">_resolve</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition._resolve" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._UrTypeDefinition.pythonSupport">
<code class="descname">pythonSupport</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._UrTypeDefinition.pythonSupport" title="Permalink to this definition">¶</a></dt>
<dd><p>The ur-type does have a Python class backing it up.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin">
<em class="property">class </em><code class="descclassname">pyxb.xmlschema.structures.</code><code class="descname">_ValueConstraint_mixin</code><span class="sig-paren">(</span><em>*args</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="pyxb.html#pyxb.cscRoot" title="pyxb.cscRoot"><code class="xref py py-class docutils literal"><span class="pre">pyxb.cscRoot</span></code></a></p>
<p>Mix-in indicating that the component contains a simple-type
value that may be constrained.</p>
<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.VC_default">
<code class="descname">VC_default</code><em class="property"> = 1</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.VC_default" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.VC_fixed">
<code class="descname">VC_fixed</code><em class="property"> = 2</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.VC_fixed" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.VC_na">
<code class="descname">VC_na</code><em class="property"> = 0</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.VC_na" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin._ValueConstraint_mixin__valueConstraint">
<code class="descname">_ValueConstraint_mixin__valueConstraint</code><em class="property"> = None</em><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin._ValueConstraint_mixin__valueConstraint" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin._valueConstraintFromDOM">
<code class="descname">_valueConstraintFromDOM</code><span class="sig-paren">(</span><em>node</em><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin._valueConstraintFromDOM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.default">
<code class="descname">default</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.default" title="Permalink to this definition">¶</a></dt>
<dd><p>If this instance constraints a default value, return that
value; otherwise return None.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.fixed">
<code class="descname">fixed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.fixed" title="Permalink to this definition">¶</a></dt>
<dd><p>If this instance constraints a fixed value, return that
value; otherwise return None.</p>
</dd></dl>

<dl class="method">
<dt id="pyxb.xmlschema.structures._ValueConstraint_mixin.valueConstraint">
<code class="descname">valueConstraint</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyxb.xmlschema.structures._ValueConstraint_mixin.valueConstraint" title="Permalink to this definition">¶</a></dt>
<dd><p>A constraint on the value of the attribute or element.</p>
<p>Either None, or a pair consisting of a string in the lexical
space of the typeDefinition and one of VC_default and
VC_fixed.</p>
</dd></dl>

</dd></dl>

</div>
<div class="section" id="module-pyxb.xmlschema">
<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyxb.xmlschema" title="Permalink to this headline">¶</a></h2>
<p>XMLSchema &#8211; Classes to support processing W3C XML Schema definitions.</p>
<p>This module supports processing DOM model representations of XML schema into a
Python object representation of the schema component model.</p>
<p>The module also provides a top-level class that supports schema processing.</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">pyxb.xmlschema package</a><ul>
<li><a class="reference internal" href="#submodules">Submodules</a></li>
<li><a class="reference internal" href="#module-pyxb.xmlschema.structures">pyxb.xmlschema.structures module</a></li>
<li><a class="reference internal" href="#module-pyxb.xmlschema">Module contents</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="pyxb.utils.html"
                        title="previous chapter">pyxb.utils package</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="maintref.html"
                        title="next chapter">Maintainer Reference</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/pyxb.xmlschema.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="maintref.html" title="Maintainer Reference"
             >next</a> |</li>
        <li class="right" >
          <a href="pyxb.utils.html" title="pyxb.utils package"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">PyXB 1.2.6 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="pyxb.html" >pyxb package</a> &#187;</li>
    <li style="margin-left: 20px">PyXB hosted on <a href="http://sourceforge.net/projects/pyxb"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=263147&amp;type=9"
    width="80" height="15" alt="Get PyXB: Python XML Schema Bindings at SourceForge.net. Fast, secure and Free Open Source software downloads"/></a></li>
     

      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2009-2017, Peter A. Bigot.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.5.5.
    </div>
  </body>
</html>