1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
<!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>Architecture — PyXB 1.2.3 documentation</title>
<link rel="stylesheet" href="_static/default.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.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</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="top" title="PyXB 1.2.3 documentation" href="index.html" />
<link rel="next" title="Namespaces" href="arch_namespaces.html" />
<link rel="prev" title="Release History" href="releases.html" />
</head>
<body>
<div class="related">
<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="arch_namespaces.html" title="Namespaces"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="releases.html" title="Release History"
accesskey="P">previous</a> |</li>
<li><a href="index.html">PyXB 1.2.3 documentation</a> »</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&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">
<div class="section" id="architecture">
<h1>Architecture<a class="headerlink" href="#architecture" title="Permalink to this headline">ΒΆ</a></h1>
<p>The architecture of PyXB requires an understanding of four models.
<a class="reference internal" href="arch_namespaces.html#namespaces"><em>Namespaces</em></a> describe how objects are aggregated by name and kind. The
<a class="reference internal" href="arch_component.html#componentmodel"><em>Component Model</em></a> represents XML schema using the thirteen component
types defined in the <a class="reference external" href="http://www.w3.org/TR/xmlschema-1/">XML schema specification</a>. The <a class="reference internal" href="arch_binding.html#bindingmodel"><em>Binding Model</em></a> describes
how Python classes provide a Pythonic representation of the information
within specific components. Finally, the <a class="reference internal" href="arch_content.html#contentmodel"><em>Content Model</em></a> describes how
the component model of a specific schema supports translation between XML
documents and Python bindings.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="arch_namespaces.html">Namespaces</a><ul>
<li class="toctree-l2"><a class="reference internal" href="arch_namespaces.html#namespace-category-maps">Namespace Category Maps</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_namespaces.html#namespace-component-associations">Namespace Component Associations</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_namespaces.html#namespace-resolution">Namespace Resolution</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_namespaces.html#expanded-names">Expanded Names</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_namespaces.html#namespace-context">Namespace Context</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_namespaces.html#other-concepts">Other Concepts</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_namespaces.html#storage-of-namespaces">Storage of Namespaces</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="arch_component.html">Component Model</a><ul>
<li class="toctree-l2"><a class="reference internal" href="arch_component.html#component-model-mix-ins">Component Model Mix-ins</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_component.html#other-information">Other Information</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="arch_binding.html">Binding Model</a><ul>
<li class="toctree-l2"><a class="reference internal" href="arch_binding.html#supporting-capabilities">Supporting Capabilities</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_binding.html#simple-type-definitions">Simple Type Definitions</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_binding.html#complex-type-definitions">Complex Type Definitions</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_binding.html#id5">Elements</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="arch_content.html">Content Model</a><ul>
<li class="toctree-l2"><a class="reference internal" href="arch_content.html#associating-xml-and-python-objects">Associating XML and Python Objects</a></li>
<li class="toctree-l2"><a class="reference internal" href="arch_content.html#validating-the-content-model">Validating the Content Model</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="releases.html"
title="previous chapter">Release History</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="arch_namespaces.html"
title="next chapter">Namespaces</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/architecture.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<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="arch_namespaces.html" title="Namespaces"
>next</a> |</li>
<li class="right" >
<a href="releases.html" title="Release History"
>previous</a> |</li>
<li><a href="index.html">PyXB 1.2.3 documentation</a> »</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&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">
© Copyright 2009-2013, Peter A. Bigot.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html>
|