Documentation/Source/eric5.E5XML.TemplatesHandler.html

changeset 50
a36eecf45b2e
child 58
37f0444c3479
equal deleted inserted replaced
49:f991944e859c 50:a36eecf45b2e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.E5XML.TemplatesHandler</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.E5XML.TemplatesHandler</h1>
24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#108;&#97;&#115;&#115; &#102;&#111;&#114; &#114;&#101;&#97;&#100;&#105;&#110;&#103; &#97;&#110; &#88;&#77;&#76; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#102;&#105;&#108;&#101;.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#TemplatesHandler">TemplatesHandler</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#115;&#97;x &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#116;&#111; &#114;&#101;&#97;&#100; &#97;&#110; &#88;&#77;&#76; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#102;&#105;&#108;&#101;.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="TemplatesHandler" ID="TemplatesHandler"></a>
44 <h2>TemplatesHandler</h2>
45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#115;&#97;x &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#116;&#111; &#114;&#101;&#97;&#100; &#97;&#110; &#88;&#77;&#76; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115; &#102;&#105;&#108;&#101;.
47 </p>
48 <h3>Derived from</h3>
49 XMLHandlerBase
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#TemplatesHandler.__init__">TemplatesHandler</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
59 </tr><tr>
60 <td><a href="#TemplatesHandler.endTemplate">endTemplate</a></td>
61 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;" &#101;&#110;&#100; &#116;&#97;&#103;.</td>
62 </tr><tr>
63 <td><a href="#TemplatesHandler.endTemplateDescription">endTemplateDescription</a></td>
64 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#68;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;" &#101;&#110;&#100; &#116;&#97;&#103;.</td>
65 </tr><tr>
66 <td><a href="#TemplatesHandler.endTemplateText">endTemplateText</a></td>
67 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#84;&#101;x&#116;" &#101;&#110;&#100; &#116;&#97;&#103;.</td>
68 </tr><tr>
69 <td><a href="#TemplatesHandler.getVersion">getVersion</a></td>
70 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115;.</td>
71 </tr><tr>
72 <td><a href="#TemplatesHandler.startDocumentTemplates">startDocumentTemplates</a></td>
73 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116; &#112;&#97;&#114;&#115;&#105;&#110;&#103; &#105;&#115; &#115;&#116;&#97;&#114;&#116;&#101;&#100;.</td>
74 </tr><tr>
75 <td><a href="#TemplatesHandler.startTemplate">startTemplate</a></td>
76 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.</td>
77 </tr><tr>
78 <td><a href="#TemplatesHandler.startTemplateGroup">startTemplateGroup</a></td>
79 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#71;&#114;&#111;&#117;&#112;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.</td>
80 </tr><tr>
81 <td><a href="#TemplatesHandler.startTemplates">startTemplates</a></td>
82 <td>&#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.</td>
83 </tr>
84 </table>
85 <a NAME="TemplatesHandler.__init__" ID="TemplatesHandler.__init__"></a>
86 <h4>TemplatesHandler (Constructor)</h4>
87 <b>TemplatesHandler</b>(<i>templateViewer=None</i>)
88 <p>
89 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
90 </p><dl>
91 <dt><i>templateViewer</i></dt>
92 <dd>
93 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101; v&#105;&#101;w&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116;
94 </dd>
95 </dl><a NAME="TemplatesHandler.endTemplate" ID="TemplatesHandler.endTemplate"></a>
96 <h4>TemplatesHandler.endTemplate</h4>
97 <b>endTemplate</b>(<i></i>)
98 <p>
99 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;" &#101;&#110;&#100; &#116;&#97;&#103;.
100 </p><a NAME="TemplatesHandler.endTemplateDescription" ID="TemplatesHandler.endTemplateDescription"></a>
101 <h4>TemplatesHandler.endTemplateDescription</h4>
102 <b>endTemplateDescription</b>(<i></i>)
103 <p>
104 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#68;&#101;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;" &#101;&#110;&#100; &#116;&#97;&#103;.
105 </p><a NAME="TemplatesHandler.endTemplateText" ID="TemplatesHandler.endTemplateText"></a>
106 <h4>TemplatesHandler.endTemplateText</h4>
107 <b>endTemplateText</b>(<i></i>)
108 <p>
109 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#84;&#101;x&#116;" &#101;&#110;&#100; &#116;&#97;&#103;.
110 </p><a NAME="TemplatesHandler.getVersion" ID="TemplatesHandler.getVersion"></a>
111 <h4>TemplatesHandler.getVersion</h4>
112 <b>getVersion</b>(<i></i>)
113 <p>
114 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#116;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115;.
115 </p><dl>
116 <dt>Returns:</dt>
117 <dd>
118 &#83;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; v&#101;&#114;&#115;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114;.
119 </dd>
120 </dl><a NAME="TemplatesHandler.startDocumentTemplates" ID="TemplatesHandler.startDocumentTemplates"></a>
121 <h4>TemplatesHandler.startDocumentTemplates</h4>
122 <b>startDocumentTemplates</b>(<i></i>)
123 <p>
124 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#97;&#108;&#108;&#101;&#100;, w&#104;&#101;&#110; &#116;&#104;&#101; &#100;&#111;&#99;&#117;&#109;&#101;&#110;&#116; &#112;&#97;&#114;&#115;&#105;&#110;&#103; &#105;&#115; &#115;&#116;&#97;&#114;&#116;&#101;&#100;.
125 </p><a NAME="TemplatesHandler.startTemplate" ID="TemplatesHandler.startTemplate"></a>
126 <h4>TemplatesHandler.startTemplate</h4>
127 <b>startTemplate</b>(<i>attrs</i>)
128 <p>
129 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.
130 </p><dl>
131 <dt><i>attrs</i></dt>
132 <dd>
133 &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#97;&#103; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;&#115;
134 </dd>
135 </dl><a NAME="TemplatesHandler.startTemplateGroup" ID="TemplatesHandler.startTemplateGroup"></a>
136 <h4>TemplatesHandler.startTemplateGroup</h4>
137 <b>startTemplateGroup</b>(<i>attrs</i>)
138 <p>
139 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#71;&#114;&#111;&#117;&#112;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.
140 </p><dl>
141 <dt><i>attrs</i></dt>
142 <dd>
143 &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#97;&#103; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;&#115;
144 </dd>
145 </dl><a NAME="TemplatesHandler.startTemplates" ID="TemplatesHandler.startTemplates"></a>
146 <h4>TemplatesHandler.startTemplates</h4>
147 <b>startTemplates</b>(<i>attrs</i>)
148 <p>
149 &#72;&#97;&#110;&#100;&#108;&#101;&#114; &#109;&#101;&#116;&#104;&#111;&#100; &#102;&#111;&#114; &#116;&#104;&#101; "&#84;&#101;&#109;&#112;&#108;&#97;&#116;&#101;&#115;" &#115;&#116;&#97;&#114;&#116; &#116;&#97;&#103;.
150 </p><dl>
151 <dt><i>attrs</i></dt>
152 <dd>
153 &#108;&#105;&#115;&#116; &#111;&#102; &#116;&#97;&#103; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;&#115;
154 </dd>
155 </dl>
156 <div align="right"><a href="#top">Up</a></div>
157 <hr />
158 </body></html>

eric ide

mercurial