doc/api/python/archive.mappers.Mapper-class.html
changeset 432 f2ddfa555b0f
equal deleted inserted replaced
431:7685cec9fd3c 432:f2ddfa555b0f
       
     1 <?xml version="1.0" encoding="ascii"?>
       
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       
     3           "DTD/xhtml1-transitional.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       
     5 <head>
       
     6   <title>archive.mappers.Mapper</title>
       
     7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
       
     8   <script type="text/javascript" src="epydoc.js"></script>
       
     9 </head>
       
    10 
       
    11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
       
    12       alink="#204080">
       
    13 <!-- ==================== NAVIGATION BAR ==================== -->
       
    14 <table class="navbar" border="0" width="100%" cellpadding="0"
       
    15        bgcolor="#a0c0ff" cellspacing="0">
       
    16   <tr valign="middle">
       
    17 
       
    18   <!-- Tree link -->
       
    19       <th>&nbsp;&nbsp;&nbsp;<a
       
    20         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
    21 
       
    22   <!-- Index link -->
       
    23       <th>&nbsp;&nbsp;&nbsp;<a
       
    24         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
    25 
       
    26   <!-- Help link -->
       
    27       <th>&nbsp;&nbsp;&nbsp;<a
       
    28         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
    29 
       
    30       <th class="navbar" width="100%"></th>
       
    31   </tr>
       
    32 </table>
       
    33 <table width="100%" cellpadding="0" cellspacing="0">
       
    34   <tr valign="top">
       
    35     <td width="100%">
       
    36       <span class="breadcrumbs">
       
    37         <a href="archive-module.html">Package&nbsp;archive</a> ::
       
    38         <a href="archive.mappers-module.html">Module&nbsp;mappers</a> ::
       
    39         Class&nbsp;Mapper
       
    40       </span>
       
    41     </td>
       
    42     <td>
       
    43       <table cellpadding="0" cellspacing="0">
       
    44         <!-- hide/show private -->
       
    45         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
       
    46     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
       
    47         <tr><td align="right"><span class="options"
       
    48             >[<a href="frames.html" target="_top">frames</a
       
    49             >]&nbsp;|&nbsp;<a href="archive.mappers.Mapper-class.html"
       
    50             target="_top">no&nbsp;frames</a>]</span></td></tr>
       
    51       </table>
       
    52     </td>
       
    53   </tr>
       
    54 </table>
       
    55 <!-- ==================== CLASS DESCRIPTION ==================== -->
       
    56 <h1 class="epydoc">Class Mapper</h1><span class="codelink"><a href="archive.mappers-pysrc.html#Mapper">source&nbsp;code</a></span><br /><br />
       
    57 <pre class="base-tree">
       
    58 object --+
       
    59          |
       
    60         <strong class="uidshort">Mapper</strong>
       
    61 </pre>
       
    62 
       
    63 <hr />
       
    64 <p>Mapper Abstract class. Any custom implementation must derive it!.</p>
       
    65 <p>It handles metadata creation.</p><br /><br />
       
    66 
       
    67 <!-- ==================== INSTANCE METHODS ==================== -->
       
    68 <a name="section-InstanceMethods"></a>
       
    69 <table class="summary" border="1" cellpadding="3"
       
    70        cellspacing="0" width="100%" bgcolor="white">
       
    71 <tr bgcolor="#70b0f0" class="table-header">
       
    72   <td colspan="2" class="table-header">
       
    73     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
    74       <tr valign="top">
       
    75         <td align="left"><span class="table-header">Instance Methods</span></td>
       
    76         <td align="right" valign="top"
       
    77          ><span class="options">[<a href="#section-InstanceMethods"
       
    78          class="privatelink" onclick="toggle_private();"
       
    79          >hide private</a>]</span></td>
       
    80       </tr>
       
    81     </table>
       
    82   </td>
       
    83 </tr>
       
    84 <tr>
       
    85     <td width="15%" align="right" valign="top" class="summary">
       
    86       <span class="summary-type">&nbsp;</span>
       
    87     </td><td class="summary">
       
    88       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    89         <tr>
       
    90           <td><span class="summary-sig"><a href="archive.mappers.Mapper-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
       
    91         <span class="summary-sig-arg">config</span>,
       
    92         <span class="summary-sig-arg">tool</span>)</span><br />
       
    93       x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
       
    94           <td align="right" valign="top">
       
    95             <span class="codelink"><a href="archive.mappers-pysrc.html#Mapper.__init__">source&nbsp;code</a></span>
       
    96             
       
    97           </td>
       
    98         </tr>
       
    99       </table>
       
   100       
       
   101     </td>
       
   102   </tr>
       
   103 <tr>
       
   104     <td width="15%" align="right" valign="top" class="summary">
       
   105       <span class="summary-type">&nbsp;</span>
       
   106     </td><td class="summary">
       
   107       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   108         <tr>
       
   109           <td><span class="summary-sig"><a name="declare_package"></a><span class="summary-sig-name">declare_package</span>(<span class="summary-sig-arg">self</span>,
       
   110         <span class="summary-sig-arg">filename</span>,
       
   111         <span class="summary-sig-arg">extract</span>=<span class="summary-sig-default">&quot;single&quot;</span>)</span><br />
       
   112       Add a package to the metadata file.</td>
       
   113           <td align="right" valign="top">
       
   114             <span class="codelink"><a href="archive.mappers-pysrc.html#Mapper.declare_package">source&nbsp;code</a></span>
       
   115             
       
   116           </td>
       
   117         </tr>
       
   118       </table>
       
   119       
       
   120     </td>
       
   121   </tr>
       
   122 <tr>
       
   123     <td width="15%" align="right" valign="top" class="summary">
       
   124       <span class="summary-type">&nbsp;</span>
       
   125     </td><td class="summary">
       
   126       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   127         <tr>
       
   128           <td><span class="summary-sig"><a name="create_commands"></a><span class="summary-sig-name">create_commands</span>(<span class="summary-sig-arg">self</span>,
       
   129         <span class="summary-sig-arg">manifest</span>)</span><br />
       
   130       Return a list of command list.</td>
       
   131           <td align="right" valign="top">
       
   132             <span class="codelink"><a href="archive.mappers-pysrc.html#Mapper.create_commands">source&nbsp;code</a></span>
       
   133             
       
   134           </td>
       
   135         </tr>
       
   136       </table>
       
   137       
       
   138     </td>
       
   139   </tr>
       
   140   <tr>
       
   141     <td colspan="2" class="summary">
       
   142     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   143       <code>__delattr__</code>,
       
   144       <code>__getattribute__</code>,
       
   145       <code>__hash__</code>,
       
   146       <code>__new__</code>,
       
   147       <code>__reduce__</code>,
       
   148       <code>__reduce_ex__</code>,
       
   149       <code>__repr__</code>,
       
   150       <code>__setattr__</code>,
       
   151       <code>__str__</code>
       
   152       </p>
       
   153     </td>
       
   154   </tr>
       
   155 </table>
       
   156 <!-- ==================== PROPERTIES ==================== -->
       
   157 <a name="section-Properties"></a>
       
   158 <table class="summary" border="1" cellpadding="3"
       
   159        cellspacing="0" width="100%" bgcolor="white">
       
   160 <tr bgcolor="#70b0f0" class="table-header">
       
   161   <td colspan="2" class="table-header">
       
   162     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   163       <tr valign="top">
       
   164         <td align="left"><span class="table-header">Properties</span></td>
       
   165         <td align="right" valign="top"
       
   166          ><span class="options">[<a href="#section-Properties"
       
   167          class="privatelink" onclick="toggle_private();"
       
   168          >hide private</a>]</span></td>
       
   169       </tr>
       
   170     </table>
       
   171   </td>
       
   172 </tr>
       
   173   <tr>
       
   174     <td colspan="2" class="summary">
       
   175     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   176       <code>__class__</code>
       
   177       </p>
       
   178     </td>
       
   179   </tr>
       
   180 </table>
       
   181 <!-- ==================== METHOD DETAILS ==================== -->
       
   182 <a name="section-MethodDetails"></a>
       
   183 <table class="details" border="1" cellpadding="3"
       
   184        cellspacing="0" width="100%" bgcolor="white">
       
   185 <tr bgcolor="#70b0f0" class="table-header">
       
   186   <td colspan="2" class="table-header">
       
   187     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   188       <tr valign="top">
       
   189         <td align="left"><span class="table-header">Method Details</span></td>
       
   190         <td align="right" valign="top"
       
   191          ><span class="options">[<a href="#section-MethodDetails"
       
   192          class="privatelink" onclick="toggle_private();"
       
   193          >hide private</a>]</span></td>
       
   194       </tr>
       
   195     </table>
       
   196   </td>
       
   197 </tr>
       
   198 </table>
       
   199 <a name="__init__"></a>
       
   200 <div>
       
   201 <table class="details" border="1" cellpadding="3"
       
   202        cellspacing="0" width="100%" bgcolor="white">
       
   203 <tr><td>
       
   204   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   205   <tr valign="top"><td>
       
   206   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
       
   207         <span class="sig-arg">config</span>,
       
   208         <span class="sig-arg">tool</span>)</span>
       
   209     <br /><em class="fname">(Constructor)</em>
       
   210   </h3>
       
   211   </td><td align="right" valign="top"
       
   212     ><span class="codelink"><a href="archive.mappers-pysrc.html#Mapper.__init__">source&nbsp;code</a></span>&nbsp;
       
   213     </td>
       
   214   </table>
       
   215   
       
   216   x.__init__(...) initializes x; see x.__class__.__doc__ for signature
       
   217   <dl class="fields">
       
   218     <dt>Overrides:
       
   219       object.__init__
       
   220         <dd><em class="note">(inherited documentation)</em></dd>
       
   221     </dt>
       
   222   </dl>
       
   223 </td></tr></table>
       
   224 </div>
       
   225 <br />
       
   226 <!-- ==================== NAVIGATION BAR ==================== -->
       
   227 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   228        bgcolor="#a0c0ff" cellspacing="0">
       
   229   <tr valign="middle">
       
   230 
       
   231   <!-- Tree link -->
       
   232       <th>&nbsp;&nbsp;&nbsp;<a
       
   233         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   234 
       
   235   <!-- Index link -->
       
   236       <th>&nbsp;&nbsp;&nbsp;<a
       
   237         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   238 
       
   239   <!-- Help link -->
       
   240       <th>&nbsp;&nbsp;&nbsp;<a
       
   241         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   242 
       
   243       <th class="navbar" width="100%"></th>
       
   244   </tr>
       
   245 </table>
       
   246 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   247   <tr>
       
   248     <td align="left" class="footer">
       
   249     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:16 2009
       
   250     </td>
       
   251     <td align="right" class="footer">
       
   252       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   253     </td>
       
   254   </tr>
       
   255 </table>
       
   256 
       
   257 <script type="text/javascript">
       
   258   <!--
       
   259   // Private objects are initially displayed (because if
       
   260   // javascript is turned off then we want them to be
       
   261   // visible); but by default, we want to hide them.  So hide
       
   262   // them unless we have a cookie that says to show them.
       
   263   checkCookie()
       
   264   // -->
       
   265 </script>
       
   266   
       
   267 </body>
       
   268 </html>