doc/api/python/buildtools.StringWriter-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>buildtools.StringWriter</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="buildtools-module.html">Module&nbsp;buildtools</a> ::
       
    38         Class&nbsp;StringWriter
       
    39       </span>
       
    40     </td>
       
    41     <td>
       
    42       <table cellpadding="0" cellspacing="0">
       
    43         <!-- hide/show private -->
       
    44         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
       
    45     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
       
    46         <tr><td align="right"><span class="options"
       
    47             >[<a href="frames.html" target="_top">frames</a
       
    48             >]&nbsp;|&nbsp;<a href="buildtools.StringWriter-class.html"
       
    49             target="_top">no&nbsp;frames</a>]</span></td></tr>
       
    50       </table>
       
    51     </td>
       
    52   </tr>
       
    53 </table>
       
    54 <!-- ==================== CLASS DESCRIPTION ==================== -->
       
    55 <h1 class="epydoc">Class StringWriter</h1><span class="codelink"><a href="buildtools-pysrc.html#StringWriter">source&nbsp;code</a></span><br /><br />
       
    56 <pre class="base-tree">
       
    57 <a href="buildtools.AbstractOutputWriter-class.html">AbstractOutputWriter</a> --+
       
    58                        |
       
    59                       <strong class="uidshort">StringWriter</strong>
       
    60 </pre>
       
    61 
       
    62 <hr />
       
    63 Implements a Writer which is able to directly write to the output stream.<br /><br />
       
    64 
       
    65 <!-- ==================== INSTANCE METHODS ==================== -->
       
    66 <a name="section-InstanceMethods"></a>
       
    67 <table class="summary" border="1" cellpadding="3"
       
    68        cellspacing="0" width="100%" bgcolor="white">
       
    69 <tr bgcolor="#70b0f0" class="table-header">
       
    70   <td colspan="2" class="table-header">
       
    71     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
    72       <tr valign="top">
       
    73         <td align="left"><span class="table-header">Instance Methods</span></td>
       
    74         <td align="right" valign="top"
       
    75          ><span class="options">[<a href="#section-InstanceMethods"
       
    76          class="privatelink" onclick="toggle_private();"
       
    77          >hide private</a>]</span></td>
       
    78       </tr>
       
    79     </table>
       
    80   </td>
       
    81 </tr>
       
    82 <tr>
       
    83     <td width="15%" align="right" valign="top" class="summary">
       
    84       <span class="summary-type">&nbsp;</span>
       
    85     </td><td class="summary">
       
    86       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    87         <tr>
       
    88           <td><span class="summary-sig"><a href="buildtools.StringWriter-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
       
    89         <span class="summary-sig-arg">fileOut</span>)</span></td>
       
    90           <td align="right" valign="top">
       
    91             <span class="codelink"><a href="buildtools-pysrc.html#StringWriter.__init__">source&nbsp;code</a></span>
       
    92             
       
    93           </td>
       
    94         </tr>
       
    95       </table>
       
    96       
       
    97     </td>
       
    98   </tr>
       
    99 <tr>
       
   100     <td width="15%" align="right" valign="top" class="summary">
       
   101       <span class="summary-type">&nbsp;</span>
       
   102     </td><td class="summary">
       
   103       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   104         <tr>
       
   105           <td><span class="summary-sig"><a href="buildtools.StringWriter-class.html#write" class="summary-sig-name">write</a>(<span class="summary-sig-arg">self</span>,
       
   106         <span class="summary-sig-arg">content</span>)</span><br />
       
   107       Write content to the output.</td>
       
   108           <td align="right" valign="top">
       
   109             <span class="codelink"><a href="buildtools-pysrc.html#StringWriter.write">source&nbsp;code</a></span>
       
   110             
       
   111           </td>
       
   112         </tr>
       
   113       </table>
       
   114       
       
   115     </td>
       
   116   </tr>
       
   117   <tr>
       
   118     <td colspan="2" class="summary">
       
   119     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="buildtools.AbstractOutputWriter-class.html">AbstractOutputWriter</a></code></b>:
       
   120       <code><a href="buildtools.AbstractOutputWriter-class.html#__call__">__call__</a></code>,
       
   121       <code><a href="buildtools.AbstractOutputWriter-class.html#close">close</a></code>,
       
   122       <code><a href="buildtools.AbstractOutputWriter-class.html#writeTopLevel">writeTopLevel</a></code>
       
   123       </p>
       
   124     </td>
       
   125   </tr>
       
   126 </table>
       
   127 <!-- ==================== METHOD DETAILS ==================== -->
       
   128 <a name="section-MethodDetails"></a>
       
   129 <table class="details" border="1" cellpadding="3"
       
   130        cellspacing="0" width="100%" bgcolor="white">
       
   131 <tr bgcolor="#70b0f0" class="table-header">
       
   132   <td colspan="2" class="table-header">
       
   133     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   134       <tr valign="top">
       
   135         <td align="left"><span class="table-header">Method Details</span></td>
       
   136         <td align="right" valign="top"
       
   137          ><span class="options">[<a href="#section-MethodDetails"
       
   138          class="privatelink" onclick="toggle_private();"
       
   139          >hide private</a>]</span></td>
       
   140       </tr>
       
   141     </table>
       
   142   </td>
       
   143 </tr>
       
   144 </table>
       
   145 <a name="__init__"></a>
       
   146 <div>
       
   147 <table class="details" border="1" cellpadding="3"
       
   148        cellspacing="0" width="100%" bgcolor="white">
       
   149 <tr><td>
       
   150   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   151   <tr valign="top"><td>
       
   152   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
       
   153         <span class="sig-arg">fileOut</span>)</span>
       
   154     <br /><em class="fname">(Constructor)</em>
       
   155   </h3>
       
   156   </td><td align="right" valign="top"
       
   157     ><span class="codelink"><a href="buildtools-pysrc.html#StringWriter.__init__">source&nbsp;code</a></span>&nbsp;
       
   158     </td>
       
   159   </table>
       
   160   
       
   161   
       
   162   <dl class="fields">
       
   163     <dt>Overrides:
       
   164       <a href="buildtools.AbstractOutputWriter-class.html#__init__">AbstractOutputWriter.__init__</a>
       
   165     </dt>
       
   166   </dl>
       
   167 </td></tr></table>
       
   168 </div>
       
   169 <a name="write"></a>
       
   170 <div>
       
   171 <table class="details" border="1" cellpadding="3"
       
   172        cellspacing="0" width="100%" bgcolor="white">
       
   173 <tr><td>
       
   174   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   175   <tr valign="top"><td>
       
   176   <h3 class="epydoc"><span class="sig"><span class="sig-name">write</span>(<span class="sig-arg">self</span>,
       
   177         <span class="sig-arg">content</span>)</span>
       
   178   </h3>
       
   179   </td><td align="right" valign="top"
       
   180     ><span class="codelink"><a href="buildtools-pysrc.html#StringWriter.write">source&nbsp;code</a></span>&nbsp;
       
   181     </td>
       
   182   </table>
       
   183   
       
   184   Write content to the output.
       
   185   <dl class="fields">
       
   186     <dt>Overrides:
       
   187       <a href="buildtools.AbstractOutputWriter-class.html#write">AbstractOutputWriter.write</a>
       
   188     </dt>
       
   189   </dl>
       
   190 </td></tr></table>
       
   191 </div>
       
   192 <br />
       
   193 <!-- ==================== NAVIGATION BAR ==================== -->
       
   194 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   195        bgcolor="#a0c0ff" cellspacing="0">
       
   196   <tr valign="middle">
       
   197 
       
   198   <!-- Tree link -->
       
   199       <th>&nbsp;&nbsp;&nbsp;<a
       
   200         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   201 
       
   202   <!-- Index link -->
       
   203       <th>&nbsp;&nbsp;&nbsp;<a
       
   204         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   205 
       
   206   <!-- Help link -->
       
   207       <th>&nbsp;&nbsp;&nbsp;<a
       
   208         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   209 
       
   210       <th class="navbar" width="100%"></th>
       
   211   </tr>
       
   212 </table>
       
   213 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   214   <tr>
       
   215     <td align="left" class="footer">
       
   216     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:17 2009
       
   217     </td>
       
   218     <td align="right" class="footer">
       
   219       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   220     </td>
       
   221   </tr>
       
   222 </table>
       
   223 
       
   224 <script type="text/javascript">
       
   225   <!--
       
   226   // Private objects are initially displayed (because if
       
   227   // javascript is turned off then we want them to be
       
   228   // visible); but by default, we want to hide them.  So hide
       
   229   // them unless we have a cookie that says to show them.
       
   230   checkCookie()
       
   231   // -->
       
   232 </script>
       
   233   
       
   234 </body>
       
   235 </html>