1 | <!--
|
---|
2 | <!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Discriptor 1.5//EN" "http://java.sun.com/dtd/JNLP-1.5.dtd">
|
---|
3 | -->
|
---|
4 | <!ELEMENT jnlp (information+, security?, resources*,
|
---|
5 | (application-desc | applet-desc | component-desc |
|
---|
6 | installer-desc))>
|
---|
7 | <!--
|
---|
8 | The spec attribute of the jnlp element specifies what
|
---|
9 | versions of the JNLP specification a particular JNLP file
|
---|
10 | works with. The default value is "1.0+".
|
---|
11 | -->
|
---|
12 | <!ATTLIST jnlp spec CDATA #IMPLIED>
|
---|
13 | <!--
|
---|
14 | The version attribute of the jnlp element specifies the
|
---|
15 | version of the application being launched, as well as the
|
---|
16 | version of the JNLP file itself.
|
---|
17 | -->
|
---|
18 | <!ATTLIST jnlp version CDATA #IMPLIED>
|
---|
19 | <!--
|
---|
20 | The codebase attribute of the jnlp element specifies the
|
---|
21 | codebase for the application. This is also used as the base
|
---|
22 | URL for all relative URLs in href attributes.
|
---|
23 | -->
|
---|
24 | <!ATTLIST jnlp codebase CDATA #IMPLIED>
|
---|
25 | <!--
|
---|
26 | The href attribute of the jnlp element contains the location
|
---|
27 | of the JNLP file as a URL.
|
---|
28 | -->
|
---|
29 | <!ATTLIST jnlp href CDATA #IMPLIED>
|
---|
30 | <!--
|
---|
31 | The information element contains various descriptive
|
---|
32 | information about the application being launched.
|
---|
33 | -->
|
---|
34 | <!ELEMENT information (title?, vendor?, homepage?,
|
---|
35 | description*, icon*,offline-allowed?, shortcut?,
|
---|
36 | association?, related-content*)>
|
---|
37 | <!--
|
---|
38 | The os attribute of the information element specifies for
|
---|
39 | which operating system this element should be considered.
|
---|
40 | -->
|
---|
41 | <!ATTLIST information os CDATA #IMPLIED>
|
---|
42 | <!--
|
---|
43 | The arch attribute of the information element specifies for
|
---|
44 | what architecure this element should be considered.
|
---|
45 | -->
|
---|
46 | <!ATTLIST information arch CDATA #IMPLIED>
|
---|
47 | <!--
|
---|
48 | The platform attribute of the information element specifies
|
---|
49 | for what platform this element should be considered.
|
---|
50 | -->
|
---|
51 | <!ATTLIST information platform CDATA #IMPLIED>
|
---|
52 | <!--
|
---|
53 | The locale attribute of the information element specifies the
|
---|
54 | locale for which this information element should be used.
|
---|
55 | -->
|
---|
56 | <!ATTLIST information locale CDATA #IMPLIED>
|
---|
57 | <!--
|
---|
58 | The title element contains the name of the application.
|
---|
59 | -->
|
---|
60 | <!ELEMENT title (#PCDATA)>
|
---|
61 | <!--
|
---|
62 | The vendor element contains the name of the vendor.
|
---|
63 | -->
|
---|
64 | <!ELEMENT vendor (#PCDATA)>
|
---|
65 | <!--
|
---|
66 | The homepage element contains a href to the homepage for the
|
---|
67 | application.
|
---|
68 | -->
|
---|
69 | <!ELEMENT homepage EMPTY>
|
---|
70 | <!--
|
---|
71 | The href attribute of the homepage element specifies the URL
|
---|
72 | for the homepage.
|
---|
73 | -->
|
---|
74 | <!ATTLIST homepage href CDATA #REQUIRED>
|
---|
75 | <!--
|
---|
76 | The description element contains a description of the
|
---|
77 | application.
|
---|
78 | -->
|
---|
79 | <!ELEMENT description (#PCDATA)>
|
---|
80 | <!--
|
---|
81 | The kind attribute for the description element indicates the
|
---|
82 | use of a description element. The values are: i) one-line,
|
---|
83 | for a one-line description, ii) short, for a one paragraph
|
---|
84 | description, and iii) tooltip, for a tool-tip description.
|
---|
85 | Longer descriptions should be put on a separate web page and
|
---|
86 | referred to using the homepage element.
|
---|
87 | -->
|
---|
88 | <!ATTLIST description kind (one-line | short | tooltip)
|
---|
89 | #IMPLIED>
|
---|
90 | <!--
|
---|
91 | The icon element describes an image for an application.
|
---|
92 | -->
|
---|
93 | <!ELEMENT icon EMPTY>
|
---|
94 | <!--
|
---|
95 | The href attribute of an icon contains a URL to a location on
|
---|
96 | the web containing an image file for an icon.
|
---|
97 | -->
|
---|
98 | <!ATTLIST icon href CDATA #REQUIRED>
|
---|
99 | <!--
|
---|
100 | The version attribute of an icon contains a string describing
|
---|
101 | the version of the image that is requested.
|
---|
102 | -->
|
---|
103 | <!ATTLIST icon version CDATA #IMPLIED>
|
---|
104 | <!--
|
---|
105 | The width attribute of the icon element describes the width
|
---|
106 | of the icon in pixels.
|
---|
107 | -->
|
---|
108 | <!ATTLIST icon width CDATA #IMPLIED>
|
---|
109 | <!--
|
---|
110 | The height attribute of the icon element describes the height
|
---|
111 | of the icon in pixels.
|
---|
112 | -->
|
---|
113 | <!ATTLIST icon height CDATA #IMPLIED>
|
---|
114 | <!--
|
---|
115 | The kind attribute of the icon element describes the use of
|
---|
116 | the icon.
|
---|
117 | -->
|
---|
118 | <!ATTLIST icon kind CDATA #IMPLIED>
|
---|
119 | <!--
|
---|
120 | The depth attribute of the icon element describes the color
|
---|
121 | depth of the image in bits-per-pixel. Common values will be
|
---|
122 | 8, 16, or 24.
|
---|
123 | -->
|
---|
124 | <!ATTLIST icon depth CDATA #IMPLIED>
|
---|
125 | <!--
|
---|
126 | The size attribute of an icon element indicates the size of
|
---|
127 | an icon file in bytes.
|
---|
128 | -->
|
---|
129 | <!ATTLIST icon size CDATA #IMPLIED>
|
---|
130 | <!--
|
---|
131 | The offline-allowed element indicates if the application can
|
---|
132 | be launched offline. Default value (i.e., if the element is
|
---|
133 | not specified) is online.
|
---|
134 | -->
|
---|
135 | <!ELEMENT offline-allowed EMPTY>
|
---|
136 | <!--
|
---|
137 | The security element describes the security requirements of
|
---|
138 | the application.
|
---|
139 | -->
|
---|
140 | <!ELEMENT security (all-permissions?,
|
---|
141 | j2ee-application-client-permissions?)>
|
---|
142 | <!--
|
---|
143 | The all-permissions element indicates that the application
|
---|
144 | needs full access the the local system and network.
|
---|
145 | -->
|
---|
146 | <!ELEMENT all-permissions EMPTY>
|
---|
147 | <!--
|
---|
148 | The j2ee-application-client-permissions element indicates
|
---|
149 | that the application needs the set of permissions defined for
|
---|
150 | a J2EE application client.
|
---|
151 | -->
|
---|
152 | <!ELEMENT j2ee-application-client-permissions EMPTY>
|
---|
153 | <!--
|
---|
154 | The resources element contains an ordered set of resources
|
---|
155 | that constitutes an application.
|
---|
156 | -->
|
---|
157 | <!ELEMENT resources (j2se | jar | nativelib | extension |
|
---|
158 | property | package)*>
|
---|
159 | <!--
|
---|
160 | The os attribute of the resources element specifies for which
|
---|
161 | operating system this element should be considered.
|
---|
162 | -->
|
---|
163 | <!ATTLIST resources os CDATA #IMPLIED>
|
---|
164 | <!--
|
---|
165 | The arch attribute of the resources element specifies for
|
---|
166 | what platform this element should be considered.
|
---|
167 | -->
|
---|
168 | <!ATTLIST resources arch CDATA #IMPLIED>
|
---|
169 | <!--
|
---|
170 | The locale attribute of the resources element specifies for
|
---|
171 | which locales this element should be considered.
|
---|
172 | -->
|
---|
173 | <!ATTLIST resources locale CDATA #IMPLIED>
|
---|
174 | <!--
|
---|
175 | The j2se element describes a supported JRE version and an
|
---|
176 | optional resources element to be used by the particular JRE.
|
---|
177 | -->
|
---|
178 | <!ELEMENT j2se (resources*)>
|
---|
179 | <!--
|
---|
180 | The version attribute of the j2se element describes the
|
---|
181 | versions of the JRE that this application is supported on.
|
---|
182 | -->
|
---|
183 | <!ATTLIST j2se version CDATA #REQUIRED>
|
---|
184 | <!--
|
---|
185 | The href attribute of the j2se element specifies the location
|
---|
186 | where the JRE should be downloaded from.
|
---|
187 | -->
|
---|
188 | <!ATTLIST j2se href CDATA #IMPLIED>
|
---|
189 | <!--
|
---|
190 | The initial-heap-size attribute of the j2se element specifies
|
---|
191 | the initial size of the object heap.
|
---|
192 | -->
|
---|
193 | <!ATTLIST j2se initial-heap-size CDATA #IMPLIED>
|
---|
194 | <!--
|
---|
195 | The max-heap-size attribute of the j2se element specifies the
|
---|
196 | preferred maximum size of the object heap.
|
---|
197 | -->
|
---|
198 | <!ATTLIST j2se max-heap-size CDATA #IMPLIED>
|
---|
199 | <!--
|
---|
200 | The java-vm-args attribute of the j2se element specifies a
|
---|
201 | preferred set of virtual machine arguments to use when
|
---|
202 | launching java.
|
---|
203 | -->
|
---|
204 | <!ATTLIST j2se java-vm-args CDATA #IMPLIED>
|
---|
205 | <!--
|
---|
206 | The jar element describes a jar file resource.
|
---|
207 | -->
|
---|
208 | <!ELEMENT jar EMPTY>
|
---|
209 | <!--
|
---|
210 | The href attribute of the jar element contains the location
|
---|
211 | of a jar file as a URL.
|
---|
212 | -->
|
---|
213 | <!ATTLIST jar href CDATA #REQUIRED>
|
---|
214 | <!--
|
---|
215 | The version attribute of a jar element describes the version
|
---|
216 | of a particular JAR file that is requested.
|
---|
217 | -->
|
---|
218 | <!ATTLIST jar version CDATA #IMPLIED>
|
---|
219 | <!--
|
---|
220 | The main attribute of a jar element indicates whether this
|
---|
221 | element contains the main class.
|
---|
222 | -->
|
---|
223 | <!ATTLIST jar main (true|false) "false">
|
---|
224 | <!--
|
---|
225 | The download attribute of a jar element indicates if this
|
---|
226 | element must be downloaded before an application is launched
|
---|
227 | (eager), or not (lazy).
|
---|
228 | -->
|
---|
229 | <!ATTLIST jar download (eager | lazy) "eager">
|
---|
230 | <!--
|
---|
231 | The size attribute of a jar element indicates the size of a
|
---|
232 | JAR file in bytes.
|
---|
233 | -->
|
---|
234 | <!ATTLIST jar size CDATA #IMPLIED>
|
---|
235 | <!--
|
---|
236 | The part attribute of a jar element describes the name of the
|
---|
237 | group it belongs too.
|
---|
238 | -->
|
---|
239 | <!ATTLIST jar part CDATA #IMPLIED>
|
---|
240 | <!--
|
---|
241 | The nativelib element describes a resource containing native
|
---|
242 | files.
|
---|
243 | -->
|
---|
244 | <!ELEMENT nativelib EMPTY>
|
---|
245 | <!--
|
---|
246 | The href attribute of a nativelib element contains the
|
---|
247 | location of a nativelib file as a URL.
|
---|
248 | -->
|
---|
249 | <!ATTLIST nativelib href CDATA #REQUIRED>
|
---|
250 | <!--
|
---|
251 | The version attribute of a nativelib element describes the
|
---|
252 | version of a particular nativelib file that is requested.
|
---|
253 | -->
|
---|
254 | <!ATTLIST nativelib version CDATA #IMPLIED>
|
---|
255 | <!--
|
---|
256 | The download attribute of a nativelib element indicates if
|
---|
257 | this element must be downloaded before an application is
|
---|
258 | launched (eager), or not (lazy).
|
---|
259 | -->
|
---|
260 | <!ATTLIST nativelib download (eager | lazy) "eager">
|
---|
261 | <!--
|
---|
262 | The size attribute of a nativelib element indicates the size
|
---|
263 | of a nativelib file in bytes.
|
---|
264 | -->
|
---|
265 | <!ATTLIST nativelib size CDATA #IMPLIED>
|
---|
266 | <!--
|
---|
267 | The part attribute of a nativelib element describes the name
|
---|
268 | of the part it belongs to.
|
---|
269 | -->
|
---|
270 | <!ATTLIST nativelib part CDATA #IMPLIED>
|
---|
271 | <!--
|
---|
272 | The extension element describes an extension that is required
|
---|
273 | in order to run the application.
|
---|
274 | -->
|
---|
275 | <!ELEMENT extension (ext-download*)>
|
---|
276 | <!--
|
---|
277 | The version attribute of an extension element specifies the
|
---|
278 | version of the extension requested.
|
---|
279 | -->
|
---|
280 | <!ATTLIST extension version CDATA #IMPLIED>
|
---|
281 | <!--
|
---|
282 | The name attribute of an extension element specifies the name
|
---|
283 | of the extension.
|
---|
284 | -->
|
---|
285 | <!ATTLIST extension name CDATA #IMPLIED>
|
---|
286 | <!--
|
---|
287 | The href attribute of an extension element specifies the
|
---|
288 | location of the extension.
|
---|
289 | -->
|
---|
290 | <!ATTLIST extension href CDATA #REQUIRED>
|
---|
291 | <!--
|
---|
292 | The ext-download element defines how parts of the extension
|
---|
293 | are downloaded.
|
---|
294 | -->
|
---|
295 | <!ELEMENT ext-download EMPTY>
|
---|
296 | <!--
|
---|
297 | The ext-part attribute of an ext-download element describes
|
---|
298 | the name of a part in the extension.
|
---|
299 | -->
|
---|
300 | <!ATTLIST ext-download ext-part CDATA #REQUIRED>
|
---|
301 | <!--
|
---|
302 | The download attribute of an ext-download element describes
|
---|
303 | if the resource may be lazily downloaded.
|
---|
304 | -->
|
---|
305 | <!ATTLIST ext-download download (lazy|eager) "eager">
|
---|
306 | <!--
|
---|
307 | The part attribute of an ext-download element describes the
|
---|
308 | name of the part it belongs to in the current JNLP file.
|
---|
309 | -->
|
---|
310 | <!ATTLIST ext-download part CDATA #IMPLIED>
|
---|
311 | <!--
|
---|
312 | The property element describes a name/value pair that is
|
---|
313 | available to the launched application as a system property.
|
---|
314 | -->
|
---|
315 | <!ELEMENT property EMPTY>
|
---|
316 | <!--
|
---|
317 | The name attribute of the property element describes the name
|
---|
318 | of a system property.
|
---|
319 | -->
|
---|
320 | <!ATTLIST property name CDATA #REQUIRED>
|
---|
321 | <!--
|
---|
322 | The value element describes the value of a system property.
|
---|
323 | -->
|
---|
324 | <!ATTLIST property value CDATA #REQUIRED>
|
---|
325 | <!--
|
---|
326 | The package element defines a relationship between a Java
|
---|
327 | package or class name and a part.
|
---|
328 | -->
|
---|
329 | <!ELEMENT package EMPTY>
|
---|
330 | <!--
|
---|
331 | The name attribute of the package element describes the name
|
---|
332 | of a package or class.
|
---|
333 | -->
|
---|
334 | <!ATTLIST package name CDATA #REQUIRED>
|
---|
335 | <!--
|
---|
336 | The part attribute of the package element describes the part
|
---|
337 | that contains the specified package or class.
|
---|
338 | -->
|
---|
339 | <!ATTLIST package part CDATA #REQUIRED>
|
---|
340 | <!--
|
---|
341 | The recursive attribute of the package element indicates if
|
---|
342 | all sub-packages of this particular package is also included.
|
---|
343 | -->
|
---|
344 | <!ATTLIST package recursive (true|false) "false">
|
---|
345 | <!--
|
---|
346 | The application-desc element describes how to launch a
|
---|
347 | Java-based application. It contains information about the
|
---|
348 | main class and arguments.
|
---|
349 | -->
|
---|
350 | <!ELEMENT application-desc (argument*)>
|
---|
351 | <!--
|
---|
352 | The main-class attribute of the application-desc element
|
---|
353 | describes the main class of an application.
|
---|
354 | -->
|
---|
355 | <!ATTLIST application-desc main-class CDATA #IMPLIED>
|
---|
356 | <!--
|
---|
357 | The argument elements describe the ordered set of arguments
|
---|
358 | to an application. These arguments will be passed into the
|
---|
359 | main method of the application's main class.
|
---|
360 | -->
|
---|
361 | <!ELEMENT argument (#PCDATA)>
|
---|
362 | <!--
|
---|
363 | The applet-desc element describes how to launch a Java
|
---|
364 | Technology-based Applet. It contains information about, e.g.,
|
---|
365 | the main class, size, and parameters.
|
---|
366 | -->
|
---|
367 | <!ELEMENT applet-desc (param*)>
|
---|
368 | <!--
|
---|
369 | The documentbase attribute of the applet-desc element
|
---|
370 | describes the documentbase for the applet as a URL.
|
---|
371 | -->
|
---|
372 | <!ATTLIST applet-desc documentbase CDATA #IMPLIED>
|
---|
373 | <!--
|
---|
374 | The main-class attribute of the applet-desc element describes
|
---|
375 | the name of the main Applet class.
|
---|
376 | -->
|
---|
377 | <!ATTLIST applet-desc main-class CDATA #REQUIRED>
|
---|
378 | <!--
|
---|
379 | The name attribute of the applet-desc element describes the
|
---|
380 | name of the Applet.
|
---|
381 | -->
|
---|
382 | <!ATTLIST applet-desc name CDATA #REQUIRED>
|
---|
383 | <!--
|
---|
384 | The width attribute of the applet-desc element describes the
|
---|
385 | width of the Applet in pixels.
|
---|
386 | -->
|
---|
387 | <!ATTLIST applet-desc width CDATA #REQUIRED>
|
---|
388 | <!--
|
---|
389 | The height attribute of the applet-desc element describes the
|
---|
390 | height of the Applet in pixels.
|
---|
391 | -->
|
---|
392 | <!ATTLIST applet-desc height CDATA #REQUIRED>
|
---|
393 | <!--
|
---|
394 | The param element describes a parameter to an Applet.
|
---|
395 | -->
|
---|
396 | <!ELEMENT param EMPTY>
|
---|
397 | <!--
|
---|
398 | The name attribute of the param element describes the name of
|
---|
399 | a parameter.
|
---|
400 | -->
|
---|
401 | <!ATTLIST param name CDATA #REQUIRED>
|
---|
402 | <!--
|
---|
403 | The value attribute of the param element describes the value
|
---|
404 | of a parameter.
|
---|
405 | -->
|
---|
406 | <!ATTLIST param value CDATA #REQUIRED>
|
---|
407 | <!--
|
---|
408 | The component-desc element specifies a component extension.
|
---|
409 | -->
|
---|
410 | <!ELEMENT component-desc EMPTY>
|
---|
411 | <!--
|
---|
412 | The installer-desc element specifies an installer extension.
|
---|
413 | -->
|
---|
414 | <!ELEMENT installer-desc EMPTY>
|
---|
415 | <!--
|
---|
416 | The main-class attribute of the installer-desc element
|
---|
417 | describes the main class for the installer/uninstaller.
|
---|
418 | -->
|
---|
419 | <!ATTLIST installer-desc main-class CDATA #IMPLIED>
|
---|
420 | <!--
|
---|
421 | The shortcut element describes an application's preferences
|
---|
422 | for desktop integration.
|
---|
423 | -->
|
---|
424 | <!ELEMENT shortcut (desktop?, menu?)>
|
---|
425 | <!--
|
---|
426 | The online attribute of the shortcut element describes an
|
---|
427 | application's preferences launching shortcuts online or
|
---|
428 | offline
|
---|
429 | -->
|
---|
430 | <!ATTLIST shortcut online (true | false) "true">
|
---|
431 | <!--
|
---|
432 | The desktop element indicates that a shortcut on the desktop
|
---|
433 | is desired.
|
---|
434 | -->
|
---|
435 | <!ELEMENT desktop EMPTY>
|
---|
436 | <!--
|
---|
437 | The menu element indicates that a shortcut in a menu is
|
---|
438 | desired.
|
---|
439 | -->
|
---|
440 | <!ELEMENT menu EMPTY>
|
---|
441 | <!--
|
---|
442 | The submenu attribute of the menu element indicates where in
|
---|
443 | the menu a shortcut is desired.
|
---|
444 | -->
|
---|
445 | <!ATTLIST menu submenu CDATA #IMPLIED>
|
---|
446 | <!--
|
---|
447 | The association element describes an application's
|
---|
448 | preferences for desktop associations.
|
---|
449 | -->
|
---|
450 | <!ELEMENT association EMPTY>
|
---|
451 | <!--
|
---|
452 | The extensions attribute of the association element indicates
|
---|
453 | a list of extensions to associate.
|
---|
454 | -->
|
---|
455 | <!ATTLIST association extensions CDATA #REQUIRED>
|
---|
456 | <!--
|
---|
457 | The mime-type attribute of the association element indicates
|
---|
458 | a mime-types to associate.
|
---|
459 | -->
|
---|
460 | <!ATTLIST association mime-type CDATA #REQUIRED>
|
---|
461 | <!--
|
---|
462 | The related-content element described additional content that
|
---|
463 | may be integrated with the application.
|
---|
464 | -->
|
---|
465 | <!ELEMENT related-content (title?, description*, icon*)>
|
---|
466 | <!--
|
---|
467 | The href attribute of the related-content element contains a
|
---|
468 | URL to a location on the web containing additional related
|
---|
469 | content for the application.
|
---|
470 | -->
|
---|
471 | <!ATTLIST related-content href CDATA #REQUIRED>
|
---|
472 |
|
---|