Debian Codegraph @

nodist/dtd/JNLP-6.0-OWS-ext.dtd

raw
1 <!--
2
3 <!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0 with OWS extensions//EN" "https://josm.openstreetmap.de/dtd/JNLP-6.0-OWS-ext.dtd">
4
5 -->
6
7 <!--
8 The root element for the JNLP file.
9 -->
10
11 <!ELEMENT jnlp (information+, security?, update?, resources*,
12 (application-desc | applet-desc | component-desc | installer-desc))>
13
14 <!--
15 The spec attribute of the jnlp element specifies what versions of the JNLP
16 specification a particular JNLP file works with. The default value is "1.0+".
17 -->
18
19 <!ATTLIST jnlp spec CDATA #IMPLIED>
20
21 <!--
22 The version attribute of the jnlp element specifies the version of the
23 application being launched, as well as the version of the JNLP file itself.
24 -->
25
26 <!ATTLIST jnlp version CDATA #IMPLIED>
27
28 <!--
29 The codebase attribute of the jnlp element specifies the codebase for the
30 application. This is also used as the base URL for all relative URLs in
31 href attributes.
32 -->
33
34 <!ATTLIST jnlp codebase CDATA #IMPLIED>
35
36 <!--
37 The href attribute of the jnlp element contains the location of the JNLP
38 file as a URL.
39 -->
40
41 <!ATTLIST jnlp href CDATA #IMPLIED>
42
43 <!--
44 The information element contains various descriptive information about the
45 application being launched.
46 -->
47
48 <!ELEMENT information (title, vendor, homepage?, description*, icon*,
49 offline-allowed?, shortcut?, association*, related-content*)>
50
51 <!--
52 The os attribute of the information element specifies for which operating
53 system this element should be considered.
54 -->
55
56 <!ATTLIST information os CDATA #IMPLIED>
57
58 <!--
59 The arch attribute of the information element specifies for what architecure
60 this element should be considered.
61 -->
62
63 <!ATTLIST information arch CDATA #IMPLIED>
64
65 <!--
66 The platform attribute of the information element specifies for what
67 platform this element should be considered.
68 -->
69
70 <!ATTLIST information platform CDATA #IMPLIED>
71
72 <!--
73 The locale attribute of the information element specifies the locale for
74 which this information element should be used.
75 -->
76
77 <!ATTLIST information locale CDATA #IMPLIED>
78
79 <!--
80 The title element contains the name of the application.
81 -->
82
83 <!ELEMENT title (#PCDATA)>
84
85 <!--
86 The vendor element contains the name of the vendor.
87 -->
88
89 <!ELEMENT vendor (#PCDATA)>
90
91 <!--
92 The homepage element contains a href to the homepage for the application.
93 -->
94
95 <!ELEMENT homepage EMPTY>
96
97 <!--
98 The href attribute of the homepage element specifies the URL for the homepage.
99 -->
100
101 <!ATTLIST homepage href CDATA #REQUIRED>
102
103 <!--
104 The description element contains a description of the application.
105 -->
106
107 <!ELEMENT description (#PCDATA)>
108
109 <!--
110 The kind attribute for the description element indicates the use of a
111 description element. The values are: i) one-line, for a one-line
112 description, ii) short, for a one paragraph description, and iii) tooltip,
113 for a tool-tip description. Longer descriptions should be put on a separate
114 web page and referred to using the homepage element.
115 -->
116
117 <!ATTLIST description kind (one-line | short | tooltip) #IMPLIED>
118
119 <!--
120 The icon element describes an image for an application.
121 -->
122
123 <!ELEMENT icon EMPTY>
124
125 <!--
126 The href attribute of an icon contains a URL to a location on the web
127 containing an image file for an icon.
128 -->
129
130 <!ATTLIST icon href CDATA #REQUIRED>
131
132 <!--
133 The version attribute of an icon contains a string describing the version of
134 the image that is requested.
135 -->
136
137 <!ATTLIST icon version CDATA #IMPLIED>
138
139 <!--
140 The width attribute of the icon element describes the width of the icon
141 in pixels.
142 -->
143
144 <!ATTLIST icon width CDATA #IMPLIED>
145
146 <!--
147 The height attribute of the icon element describes the height of the icon
148 in pixels.
149 -->
150
151 <!ATTLIST icon height CDATA #IMPLIED>
152
153 <!--
154 The kind attribute of the icon element describes the use of the icon.
155 -->
156
157 <!ATTLIST icon kind CDATA #IMPLIED>
158
159 <!--
160 The depth attribute of the icon element describes the color depth of the image
161 in bits-per-pixel. Common values will be 8, 16, or 24.
162 -->
163
164 <!ATTLIST icon depth CDATA #IMPLIED>
165
166 <!--
167 The size attribute of an icon element indicates the size of an icon file
168 in bytes.
169 -->
170
171 <!ATTLIST icon size CDATA #IMPLIED>
172
173 <!--
174 The offline-allowed element indicates if the application can be launched
175 offline. Default value (i.e., if the element is not specified) is online.
176 -->
177
178 <!ELEMENT offline-allowed EMPTY>
179
180 <!--
181 The security element describes the security requirements of the application.
182 -->
183
184 <!ELEMENT security (all-permissions?, j2ee-application-client-permissions?)>
185
186 <!--
187 The all-permissions element indicates that the application needs full access
188 the the local system and network.
189 -->
190
191 <!ELEMENT all-permissions EMPTY>
192
193 <!--
194 The j2ee-application-client-permissions element indicates that the application
195 needs the set of permissions defined for a J2EE application client.
196 -->
197
198 <!ELEMENT j2ee-application-client-permissions EMPTY>
199
200 <!--
201 The update element contains the applications preference for application update.
202 -->
203
204 <!ELEMENT update EMPTY>
205
206 <!--
207 The check attribute of the update element indicates the applications
208 preference for when to check for updates.
209 -->
210
211 <!ATTLIST update check (always | timeout | background) "timeout">
212
213 <!--
214 The policy attribute of the update element indicates the applications
215 preference for what to do when updates are available.
216 -->
217
218 <!ATTLIST update policy (always | prompt-update | prompt-run) "always">
219
220 <!--
221 The resources element contains an ordered set of resources that
222 constitutes an application.
223 -->
224
225 <!ELEMENT resources (java | j2se | jar | nativelib | extension |
226 property | package)*>
227
228 <!--
229 The os attribute of the resources element specifies for which operating
230 system this element should be considered.
231 -->
232
233 <!ATTLIST resources os CDATA #IMPLIED>
234
235 <!--
236 The arch attribute of the resources element specifies for what platform this
237 element should be considered.
238 -->
239
240 <!ATTLIST resources arch CDATA #IMPLIED>
241
242 <!--
243 The locale attribute of the resources element specifies for which locales
244 this element should be considered.
245 -->
246
247 <!ATTLIST resources locale CDATA #IMPLIED>
248
249 <!--
250 The java element describes a supported JRE version and an optional resources
251 element to be used by the particular JRE.
252 -->
253
254 <!ELEMENT java (resources*)>
255
256 <!--
257 The version attribute of the java element describes the versions of the JRE
258 that this application is supported on.
259 -->
260
261 <!ATTLIST java version CDATA #REQUIRED>
262
263 <!--
264 The href attribute of the java element specifies the location where the JRE
265 should be downloaded from.
266 -->
267
268 <!ATTLIST java href CDATA #IMPLIED>
269
270 <!--
271 The initial-heap-size attribute of the java element specifies the initial
272 size of the object heap.
273 -->
274
275 <!ATTLIST java initial-heap-size CDATA #IMPLIED>
276
277 <!--
278 The max-heap-size attribute of the java element specifies the preferred
279 maximum size of the object heap.
280 -->
281
282 <!ATTLIST java max-heap-size CDATA #IMPLIED>
283
284 <!--
285 The java-vm-args attribute of the java element specifies a preferred set of
286 virtual machine arguments to use when launching java.
287 -->
288
289 <!ATTLIST java java-vm-args CDATA #IMPLIED>
290
291 <!--
292 OWS extension: The vendor attribute of the java element specifies the vendor that
293 should be taken into consideration for selecting the JVM that launches your JNLP application.
294 See https://openwebstart.com/docs/OWSGuide.html#_specify_a_specific_vendor_in_the_jnlp_file
295 -->
296
297 <!ATTLIST java vendor CDATA #IMPLIED>
298
299 <!--
300 The j2se element describes a supported JRE version and an optional resources
301 element to be used by the particular JRE.
302 -->
303
304 <!ELEMENT j2se (resources*)>
305
306 <!--
307 The version attribute of the j2se element describes the versions of the JRE
308 that this application is supported on.
309 -->
310
311 <!ATTLIST j2se version CDATA #REQUIRED>
312
313 <!--
314 The href attribute of the j2se element specifies the location where the JRE
315 should be downloaded from.
316 -->
317
318 <!ATTLIST j2se href CDATA #IMPLIED>
319
320 <!--
321 The initial-heap-size attribute of the j2se element specifies the initial
322 size of the object heap.
323 -->
324
325 <!ATTLIST j2se initial-heap-size CDATA #IMPLIED>
326
327 <!--
328 The max-heap-size attribute of the j2se element specifies the preferred
329 maximum size of the object heap.
330 -->
331
332 <!ATTLIST j2se max-heap-size CDATA #IMPLIED>
333
334 <!--
335 The java-vm-args attribute of the j2se element specifies a preferred set of
336 virtual machine arguments to use when launching java.
337 -->
338
339 <!ATTLIST j2se java-vm-args CDATA #IMPLIED>
340
341 <!--
342 The jar element describes a jar file resource.
343 -->
344
345 <!ELEMENT jar EMPTY>
346
347 <!--
348 The href attribute of the jar element contains the location of a jar file
349 as a URL.
350 -->
351
352 <!ATTLIST jar href CDATA #REQUIRED>
353
354 <!--
355 The version attribute of a jar element describes the version of a particular
356 JAR file that is requested.
357 -->
358
359 <!ATTLIST jar version CDATA #IMPLIED>
360
361 <!--
362 The main attribute of a jar element indicates whether this element contains
363 the main class.
364 -->
365
366 <!ATTLIST jar main (true|false) "false">
367
368 <!--
369 The download attribute of a jar element indicates if this element must be
370 downloaded before an application is launched (eager), or not (lazy).
371 -->
372
373 <!ATTLIST jar download (eager | lazy) "eager">
374
375 <!--
376 The size attribute of a jar element indicates the size of a JAR file in bytes.
377 -->
378
379 <!ATTLIST jar size CDATA #IMPLIED>
380
381 <!--
382 The part attribute of a jar element describes the name of the group it
383 belongs too.
384 -->
385
386 <!ATTLIST jar part CDATA #IMPLIED>
387
388 <!--
389 The nativelib element describes a resource containing native files.
390 -->
391
392 <!ELEMENT nativelib EMPTY>
393
394 <!--
395 The href attribute of a nativelib element contains the location of a
396 nativelib file as a URL.
397 -->
398
399 <!ATTLIST nativelib href CDATA #REQUIRED>
400
401 <!--
402 The version attribute of a nativelib element describes the version of a
403 particular nativelib file that is requested.
404 -->
405
406 <!ATTLIST nativelib version CDATA #IMPLIED>
407
408 <!--
409 The download attribute of a nativelib element indicates if this element
410 must be downloaded before an application is launched (eager), or not (lazy).
411 -->
412
413 <!ATTLIST nativelib download (eager | lazy) "eager">
414
415 <!--
416 The size attribute of a nativelib element indicates the size of a nativelib
417 file in bytes.
418 -->
419
420 <!ATTLIST nativelib size CDATA #IMPLIED>
421
422 <!--
423 The part attribute of a nativelib element describes the name of the part it
424 belongs to.
425 -->
426
427 <!ATTLIST nativelib part CDATA #IMPLIED>
428
429 <!--
430 The extension element describes an extension that is required in order to
431 run the application.
432 -->
433
434 <!ELEMENT extension (ext-download*)>
435
436 <!--
437 The version attribute of an extension element specifies the version of the
438 extension requested.
439 -->
440
441 <!ATTLIST extension version CDATA #IMPLIED>
442
443 <!--
444 The name attribute of an extension element specifies the name of the extension.
445 -->
446
447 <!ATTLIST extension name CDATA #IMPLIED>
448
449 <!--
450 The href attribute of an extension element specifies the location of the
451 extension.
452 -->
453
454 <!ATTLIST extension href CDATA #REQUIRED>
455
456 <!--
457 The ext-download element defines how parts of the extension are downloaded.
458 -->
459
460 <!ELEMENT ext-download EMPTY>
461
462 <!--
463 The ext-part attribute of an ext-download element describes the name of a
464 part in the extension.
465 -->
466
467 <!ATTLIST ext-download ext-part CDATA #REQUIRED>
468
469 <!--
470 The download attribute of an ext-download element describes if the resource
471 may be lazily downloaded.
472 -->
473
474 <!ATTLIST ext-download download (lazy|eager) "eager">
475
476 <!--
477 The part attribute of an ext-download element describes the name of the
478 part it belongs to in the current JNLP file.
479 -->
480
481 <!ATTLIST ext-download part CDATA #IMPLIED>
482
483 <!--
484 The property element describes a name/value pair that is available to the
485 launched application as a system property.
486 -->
487
488 <!ELEMENT property EMPTY>
489
490 <!--
491 The name attribute of the property element describes the name of a system
492 property.
493 -->
494
495 <!ATTLIST property name CDATA #REQUIRED>
496
497 <!--
498 The value element describes the value of a system property.
499 -->
500
501 <!ATTLIST property value CDATA #REQUIRED>
502
503 <!--
504 The package element defines a relationship between a Java package or
505 class name and a part.
506 -->
507
508 <!ELEMENT package EMPTY>
509
510 <!--
511 The name attribute of the package element describes the name of a package
512 or class.
513 -->
514
515 <!ATTLIST package name CDATA #REQUIRED>
516
517 <!--
518 The part attribute of the package element describes the part that contains
519 the specified package or class.
520 -->
521
522 <!ATTLIST package part CDATA #REQUIRED>
523
524 <!--
525 The recursive attribute of the package element indicates if all sub-packages
526 of this particular package is also included.
527 -->
528
529 <!ATTLIST package recursive (true|false) "false">
530
531 <!--
532 The application-desc element describes how to launch a Java-based application.
533 It contains information about the main class and arguments.
534 -->
535
536 <!ELEMENT application-desc (argument*)>
537
538 <!--
539 The main-class attribute of the application-desc element describes the
540 main class of an application.
541 -->
542
543 <!ATTLIST application-desc main-class CDATA #IMPLIED>
544
545 <!--
546 The argument elements describe the ordered set of arguments to an application.
547 These arguments will be passed into the main method of the application's
548 main class.
549 -->
550
551 <!ELEMENT argument (#PCDATA)>
552
553 <!--
554 The applet-desc element describes how to launch a Java Technology-based Applet. It contains information about, e.g., the main class, size, and parameters.
555 -->
556
557 <!ELEMENT applet-desc (param*)>
558
559 <!--
560 The documentbase attribute of the applet-desc element describes the
561 documentbase for the applet as a URL.
562 -->
563
564 <!ATTLIST applet-desc documentbase CDATA #IMPLIED>
565
566 <!--
567 The main-class attribute of the applet-desc element describes the name of the
568 main Applet class.
569
570 -->
571
572 <!ATTLIST applet-desc main-class CDATA #REQUIRED>
573
574 <!--
575 The name attribute of the applet-desc element describes the name of the Applet.
576 -->
577
578 <!ATTLIST applet-desc name CDATA #REQUIRED>
579
580 <!--
581 The width attribute of the applet-desc element describes the width of the
582 Applet in pixels.
583 -->
584
585 <!ATTLIST applet-desc width CDATA #REQUIRED>
586
587 <!--
588 The height attribute of the applet-desc element describes the height of the
589 Applet in pixels.
590 -->
591
592 <!ATTLIST applet-desc height CDATA #REQUIRED>
593
594 <!--
595 The param element describes a parameter to an Applet.
596 -->
597
598 <!ELEMENT param EMPTY>
599
600 <!--
601 The name attribute of the param element describes the name of a parameter.
602 -->
603
604 <!ATTLIST param name CDATA #REQUIRED>
605
606 <!--
607 The value attribute of the param element describes the value of a parameter.
608
609 -->
610
611 <!ATTLIST param value CDATA #REQUIRED>
612
613 <!--
614 The component-desc element specifies a component extension.
615 -->
616
617 <!ELEMENT component-desc EMPTY>
618
619 <!--
620 The installer-desc element specifies an installer extension.
621 -->
622
623 <!ELEMENT installer-desc EMPTY>
624
625 <!--
626 The main-class attribute of the installer-desc element describes the
627 main class for the installer/uninstaller.
628 -->
629
630 <!ATTLIST installer-desc main-class CDATA #IMPLIED>
631
632 <!--
633 The shortcut element describes an application's preferences for desktop
634 integration.
635 -->
636
637 <!ELEMENT shortcut (desktop?, menu?)>
638
639 <!--
640 The online attribute of the shortcut element describes an application's
641 preferences launching shortcuts online or offline
642 -->
643
644 <!ATTLIST shortcut online (true | false) "true">
645
646 <!--
647 The desktop element indicates that a shortcut on the desktop is desired.
648 -->
649
650 <!ELEMENT desktop EMPTY>
651
652 <!--
653 The menu element indicates that a shortcut in a menu is desired.
654 -->
655
656 <!ELEMENT menu EMPTY>
657
658 <!--
659 The submenu attribute of the menu element indicates where in the menu a
660 shortcut is desired.
661 -->
662
663 <!ATTLIST menu submenu CDATA #IMPLIED>
664
665 <!--
666 The association element describes an application's preferences for desktop
667 associations.
668 -->
669
670 <!ELEMENT association (description?, icon?)>
671
672 <!--
673 The extensions attribute of the association element indicates a list of
674 extensions to associate.
675 -->
676
677 <!ATTLIST association extensions CDATA #REQUIRED>
678
679 <!--
680 The mime-type attribute of the association element indicates a mime-types
681 to associate.
682 -->
683
684 <!ATTLIST association mime-type CDATA #REQUIRED>
685
686 <!--
687 The related-content element described additional content that may be
688 integrated with the application.
689 -->
690
691 <!ELEMENT related-content (title?, description?, icon?)>
692
693 <!--
694 The href attribute of the related-content element contains a URL to a
695 location on the web containing additional related content for the application.
696 -->
697
698 <!ATTLIST related-content href CDATA #REQUIRED>
699
700
701