Skip to main content
summaryrefslogtreecommitdiffstats
blob: 284cdac1d1f9c64cad3349c3ba328d027d223253 (plain) (blame)
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.jet">
<annotation>
      <appInfo>
         <meta.schema plugin="org.eclipse.jet" id="tabLibraries" name="Tag Libraries"/>
      </appInfo>
      <documentation>
         Defines JET tag libraries.
      </documentation>
   </annotation>

   <element name="extension">
      <complexType>
         <sequence>
            <element ref="tagLibrary" minOccurs="1" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="point" type="string" use="required">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="id" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string">
            <annotation>
               <documentation>
                  
               </documentation>
               <appInfo>
                  <meta.attribute translatable="true"/>
               </appInfo>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="tagLibrary">
      <annotation>
         <documentation>
            Declares a tag library. That is, a collection of related JET2 tags.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <choice minOccurs="1" maxOccurs="unbounded">
               <element ref="functionTag"/>
               <element ref="iteratingTag"/>
               <element ref="conditionalTag"/>
               <element ref="emptyTag"/>
               <element ref="containerTag"/>
            </choice>
            <element ref="description" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="id" type="string" use="required">
            <annotation>
               <documentation>
                  A unique name, within this plug-in for the library. For API purposes, the tag library id will be the concatenation of the plug-in id, a period (&apos;.&apos;) and this value.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  A short, descriptive name of the purpose of the tags in the library.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="standardPrefix" type="string">
            <annotation>
               <documentation>
                  The standard prefix used by tags in this library.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="deprecated" type="boolean">
            <annotation>
               <documentation>
                  If set to &apos;true&apos;, indicates that use of the tag library is discourage.
               </documentation>
            </annotation>
         </attribute>
      </complexType>
   </element>

   <element name="functionTag">
      <annotation>
         <documentation>
            Define a tag that writes a value to the template output which is calculated from the elements content and any attribute values. Function tags require content in order to create output. An empty function tag, for example &amp;lt;myFunction/&amp;gt; will produce no output.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="description" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The tag name, without prefix. The name must start with a letter or underscore (_), and the remaining characters may be letters, digits, underscores(_), hyphens(-) or periods(.).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  The class that implements that tag.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.jet.taglib.AbstractFunctionTag"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="deprecated" type="boolean">
            <annotation>
               <documentation>
                  If set to &apos;true&apos;, indicates that use of the tag is discourage.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="whenContainingLineIsEmpty" use="default" value="preserve">
            <annotation>
               <documentation>
                  Defines the compiler behavior when the tag occurs on an otherwise empty line. If &apos;remove&apos; is selected, the whitespace and trailing new line are not included in the templates output. In general, if a tag writes content, then this attribute should be set to &apos;preserve&apos;. 
&lt;p&gt;
The default for function tags is &apos;preserve&apos;.
&lt;/p&gt;
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="preserve">
                  </enumeration>
                  <enumeration value="remove">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="iteratingTag">
      <annotation>
         <documentation>
            Define a tag that causes repeated evaluation of its contents based on its attribute values.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="description" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The tag name, without prefix. The name must start with a letter or underscore (_), and the remaining characters may be letters, digits, underscores(_), hyphens(-) or periods(.).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  The class that implements that tag.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.jet.taglib.AbstractIteratingTag"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="deprecated" type="boolean">
            <annotation>
               <documentation>
                  If set to &apos;true&apos;, indicates that use of the tag is discourage.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="processContents" use="default" value="standard">
            <annotation>
               <documentation>
                  When set to &apos;custom&apos;, the tag handler is passed its processed contents, and is responsible for handling it appropriately. Otherwise, the enclosing template handles the contents automatically on the tag handler&apos;s behalf. The default is &apos;standard&apos;.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="custom">
                  </enumeration>
                  <enumeration value="standard">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
         <attribute name="whenContainingLineIsEmpty" use="default" value="remove">
            <annotation>
               <documentation>
                  Defines the compiler behavior when the tag occurs on an otherwise empty line. If &apos;remove&apos; is selected, the whitespace and trailing new line are not included in the templates output. In general, if a tag writes content, then this attribute should be set to &apos;preserve&apos;.
&lt;p&gt;The default for iterating tags is &apos;remove&apos;.&lt;/p&gt;
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="preserve">
                  </enumeration>
                  <enumeration value="remove">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="conditionalTag">
      <annotation>
         <documentation>
            Define a tag that conditionally writes its contents to the output depending on some calculation.
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="description" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The tag name, without prefix. The name must start with a letter or underscore (_), and the remaining characters may be letters, digits, underscores(_), hyphens(-) or periods(.).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  The class that implements that tag.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.jet.taglib.AbstractConditionalTag"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="deprecated" type="boolean">
            <annotation>
               <documentation>
                  If set to &apos;true&apos;, indicates that use of the tag is discourage.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="processContents" use="default" value="standard">
            <annotation>
               <documentation>
                  When set to &apos;custom&apos;, the tag handler is passed its processed contents, and is responsible for handling it appropriately. Otherwise, the enclosing template handles the contents automatically on the tag handler&apos;s behalf. The default is &apos;standard&apos;.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="custom">
                  </enumeration>
                  <enumeration value="standard">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
         <attribute name="whenContainingLineIsEmpty" use="default" value="remove">
            <annotation>
               <documentation>
                  Defines the compiler behavior when the tag occurs on an otherwise empty line. If &apos;remove&apos; is selected, the whitespace and trailing new line are not included in the templates output. In general, if a tag writes content, then this attribute should be set to &apos;preserve&apos;.
&lt;p&gt;The default for conditional tags is &apos;remove&apos;.&lt;/p&gt;
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="preserve">
                  </enumeration>
                  <enumeration value="remove">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="emptyTag">
      <annotation>
         <documentation>
            Define a tag creates output or causes actions based on its context and attribute values only. An empty tag may have no content, and must be of the form &amp;lt;myEmptyTag ... /&amp;gt;
         </documentation>
      </annotation>
      <complexType>
         <sequence>
            <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="description" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The tag name, without prefix. The name must start with a letter or underscore (_), and the remaining characters may be letters, digits, underscores(_), hyphens(-) or periods(.).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  The class that implements that tag.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.jet.taglib.AbstractEmptyTag"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="deprecated" type="boolean">
            <annotation>
               <documentation>
                  If set to &apos;true&apos;, indicates that use of the tag is discourage.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="whenContainingLineIsEmpty" use="default" value="preserve">
            <annotation>
               <documentation>
                  Defines the compiler behavior when the tag occurs on an otherwise empty line. If &apos;remove&apos; is selected, the whitespace and trailing new line are not included in the templates output. In general, if a tag writes content, then this attribute should be set to &apos;preserve&apos;. 
&lt;p&gt;
The default for empty tags is &apos;preserve&apos;.
&lt;/p&gt;
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="preserve">
                  </enumeration>
                  <enumeration value="remove">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="attribute">
      <complexType>
         <sequence>
            <element ref="description" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The attribute name. The name must start with a letter or underscore (_), and the remaining characters may be letters, digits, underscores(_), hyphens(-) or periods(.).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="use" use="default" value="required">
            <annotation>
               <documentation>
                  Indicates whether all tag instances must use this attribute or not.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="required">
                  </enumeration>
                  <enumeration value="optional">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
         <attribute name="deprecated" type="boolean">
            <annotation>
               <documentation>
                  If set to &apos;true&apos;, indicates that use of the attribute is discourage.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="type" use="default" value="string">
            <annotation>
               <documentation>
                  The type of the attribute.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="string">
                  </enumeration>
                  <enumeration value="boolean">
                  </enumeration>
                  <enumeration value="xpath">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="containerTag">
      <complexType>
         <sequence>
            <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
            <element ref="description" minOccurs="0" maxOccurs="1"/>
         </sequence>
         <attribute name="name" type="string" use="required">
            <annotation>
               <documentation>
                  The tag name, without prefix. The name must start with a letter or underscore (_), and the remaining characters may be letters, digits, underscores(_), hyphens(-) or periods(.).
               </documentation>
            </annotation>
         </attribute>
         <attribute name="class" type="string" use="required">
            <annotation>
               <documentation>
                  The class that implements that tag.
               </documentation>
               <appInfo>
                  <meta.attribute kind="java" basedOn="org.eclipse.jet.taglib.AbstractContainerTag"/>
               </appInfo>
            </annotation>
         </attribute>
         <attribute name="deprecated" type="boolean">
            <annotation>
               <documentation>
                  If set to &apos;true&apos;, indicates that use of the tag is discourage.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="processContents" use="default" value="standard">
            <annotation>
               <documentation>
                  When set to &apos;custom&apos;, the tag handler is passed its processed contents, and is responsible for handling it appropriately. Otherwise, the enclosing template handles the contents automatically on the tag handler&apos;s behalf. The default is &apos;standard&apos;.
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="standard">
                  </enumeration>
                  <enumeration value="custom">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
         <attribute name="allowAsEmpty" type="boolean">
            <annotation>
               <documentation>
                  Determines if the container can be expressed as an empty xml tag of the form &amp;lt;tag/&amp;gt;. The empty tag form
is permitted if &lt;code&gt;true&lt;/code&gt; is specified. If not specified, then &lt;code&gt;false&lt;/code&gt; is assumed.
               </documentation>
            </annotation>
         </attribute>
         <attribute name="whenContainingLineIsEmpty" use="default" value="remove">
            <annotation>
               <documentation>
                  Defines the compiler behavior when the tag occurs on an otherwise empty line. If &apos;remove&apos; is selected, the whitespace and trailing new line are not included in the templates output. In general, if a tag writes content, then this attribute should be set to &apos;preserve&apos;.
&lt;p&gt;The default for container tags is &apos;remove&apos;.&lt;/p&gt;
               </documentation>
            </annotation>
            <simpleType>
               <restriction base="string">
                  <enumeration value="remove">
                  </enumeration>
                  <enumeration value="preserve">
                  </enumeration>
               </restriction>
            </simpleType>
         </attribute>
      </complexType>
   </element>

   <element name="description" type="string">
      <annotation>
         <appInfo>
            <meta.element translatable="true"/>
         </appInfo>
      </annotation>
   </element>

   <annotation>
      <appInfo>
         <meta.section type="since"/>
      </appInfo>
      <documentation>
         1.0
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="examples"/>
      </appInfo>
      <documentation>
         [Enter extension point usage example here.]
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="apiInfo"/>
      </appInfo>
      <documentation>
         [Enter API information here.]
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="implementation"/>
      </appInfo>
      <documentation>
         [Enter information about supplied implementation of this extension point.]
      </documentation>
   </annotation>

   <annotation>
      <appInfo>
         <meta.section type="copyright"/>
      </appInfo>
      <documentation>
         
      </documentation>
   </annotation>

</schema>

Back to the top