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