Documentation/Source/eric5.E5XML.SessionWriter.html

changeset 58
37f0444c3479
parent 50
a36eecf45b2e
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.E5XML.SessionWriter</h1> 23 <h1>eric5.E5XML.SessionWriter</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; w&#114;&#105;&#116;&#101;&#114; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; w&#114;&#105;&#116;&#105;&#110;&#103; &#97;&#110; &#88;&#77;&#76; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#102;&#105;&#108;&#101;. 25 Module implementing the writer class for writing an XML project session file.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#SessionWriter">SessionWriter</a></td> 34 <td><a href="#SessionWriter">SessionWriter</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; w&#114;&#105;&#116;&#101;&#114; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; w&#114;&#105;&#116;&#105;&#110;&#103; &#97;&#110; &#88;&#77;&#76; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#102;&#105;&#108;&#101;.</td> 35 <td>Class implementing the writer class for writing an XML project session file.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="SessionWriter" ID="SessionWriter"></a> 43 <a NAME="SessionWriter" ID="SessionWriter"></a>
44 <h2>SessionWriter</h2> 44 <h2>SessionWriter</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; w&#114;&#105;&#116;&#101;&#114; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; w&#114;&#105;&#116;&#105;&#110;&#103; &#97;&#110; &#88;&#77;&#76; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#102;&#105;&#108;&#101;. 46 Class implementing the writer class for writing an XML project session file.
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 XMLWriterBase 49 XMLWriterBase
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#SessionWriter.__init__">SessionWriter</a></td> 57 <td><a href="#SessionWriter.__init__">SessionWriter</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#SessionWriter.writeXML">writeXML</a></td> 60 <td><a href="#SessionWriter.writeXML">writeXML</a></td>
61 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#104;&#101; &#88;&#77;&#76; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#108;&#101;.</td> 61 <td>Public method to write the XML to the file.</td>
62 </tr> 62 </tr>
63 </table> 63 </table>
64 <a NAME="SessionWriter.__init__" ID="SessionWriter.__init__"></a> 64 <a NAME="SessionWriter.__init__" ID="SessionWriter.__init__"></a>
65 <h4>SessionWriter (Constructor)</h4> 65 <h4>SessionWriter (Constructor)</h4>
66 <b>SessionWriter</b>(<i>file, projectName</i>) 66 <b>SessionWriter</b>(<i>file, projectName</i>)
67 <p> 67 <p>
68 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 68 Constructor
69 </p><dl> 69 </p><dl>
70 <dt><i>file</i></dt> 70 <dt><i>file</i></dt>
71 <dd> 71 <dd>
72 &#111;&#112;&#101;&#110; &#102;&#105;&#108;&#101; (&#108;&#105;&#107;&#101;) &#111;&#98;&#106;&#101;&#99;&#116; &#102;&#111;&#114; w&#114;&#105;&#116;&#105;&#110;&#103; 72 open file (like) object for writing
73 </dd><dt><i>projectName</i></dt> 73 </dd><dt><i>projectName</i></dt>
74 <dd> 74 <dd>
75 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) &#111;&#114; &#78;&#111;&#110;&#101; &#102;&#111;&#114; &#116;&#104;&#101; 75 name of the project (string) or None for the
76 &#103;&#108;&#111;&#98;&#97;&#108; &#115;&#101;&#115;&#115;&#105;&#111;&#110; 76 global session
77 </dd> 77 </dd>
78 </dl><a NAME="SessionWriter.writeXML" ID="SessionWriter.writeXML"></a> 78 </dl><a NAME="SessionWriter.writeXML" ID="SessionWriter.writeXML"></a>
79 <h4>SessionWriter.writeXML</h4> 79 <h4>SessionWriter.writeXML</h4>
80 <b>writeXML</b>(<i></i>) 80 <b>writeXML</b>(<i></i>)
81 <p> 81 <p>
82 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#104;&#101; &#88;&#77;&#76; &#116;&#111; &#116;&#104;&#101; &#102;&#105;&#108;&#101;. 82 Public method to write the XML to the file.
83 </p> 83 </p>
84 <div align="right"><a href="#top">Up</a></div> 84 <div align="right"><a href="#top">Up</a></div>
85 <hr /> 85 <hr />
86 </body></html> 86 </body></html>

eric ide

mercurial