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 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!--
The root element for the JNLP file.
-->
<!ELEMENT jnlp (information+, security?, resources*, (application-desc |
applet-desc | component-desc | installer-desc))>
<!--
The spec attribute of the jnlp element specifies what versions of the
JNLP specification a particular JNLP file works with. The default value
is "1.0+".
-->
<!ATTLIST jnlp spec CDATA #IMPLIED>
<!--
The version attribute of the jnlp element specifies the version of the
application being launched, as well as the version of the JNLP file
itself.
-->
<!ATTLIST jnlp version CDATA #IMPLIED>
<!--
The codebase attribute of the jnlp element specifies the codebase for
the application. This is also used as the base URL for all relative URLs
in href attributes.
-->
<!ATTLIST jnlp codebase CDATA #IMPLIED>
<!--
The href attribute of the jnlp element contains the location of the JNLP
file as a URL.
-->
<!ATTLIST jnlp href CDATA #IMPLIED>
<!--
The information element contains various descriptive information about
the application being launched.
-->
<!ELEMENT information (title?, vendor?, homepage?, description*, icon*,
offline-allowed?)>
<!--
The locale attribute of the information element specifies the locale for
which this information element should be used.
-->
<!ATTLIST information locale CDATA #IMPLIED>
<!--
The title element contains the name of the application.
-->
<!ELEMENT title (#PCDATA)>
<!--
The vendor element contains the name of the vendor.
-->
<!ELEMENT vendor (#PCDATA)>
<!--
The homepage element contains a href to the homepage for the
application.
-->
<!ELEMENT homepage EMPTY>
<!--
The href attribute of the homepage element specifies the URL for the
homepage.
-->
<!ATTLIST homepage href CDATA #REQUIRED>
<!--
The description element contains a description of the application.
-->
<!ELEMENT description (#PCDATA)>
<!--
The kind attribute for the description element indicates the use of a
description element. The values are: i) one-line, for a one-line
description, ii) short, for a one paragraph description, and iii)
tooltip, for a tool-tip description. Longer descriptions should be put
on a separate web page and referred to using the homepage element.
-->
<!ATTLIST description kind (one-line | short | tooltip) #IMPLIED>
<!--
The icon element describes an image for an application.
-->
<!ELEMENT icon EMPTY>
<!--
The href attribute of an icon contains a URL to a location on the web
containing an image file for an icon. The file must be in either JPEG or
GIF format.
-->
<!ATTLIST icon href CDATA #REQUIRED>
<!--
The version attribute of an icon contains a string describing the
version of the image that is requested.
-->
<!ATTLIST icon version CDATA #IMPLIED>
<!--
The width attribute of the icon element describes the width of the icon
in pixels.
-->
<!ATTLIST icon width CDATA #IMPLIED>
<!--
The height attribute of the icon element describes the height of the
icon in pixels.
-->
<!ATTLIST icon height CDATA #IMPLIED>
<!--
The kind attribute of the icon element describes the use of the icon.
-->
<!ATTLIST icon kind (default | selected | disabled | rollover)
"default">
<!--
The depth attribute of the icon element describes the color depth of the
image in bits-per-pixel. Common values will be 8, 16, or 24.
-->
<!ATTLIST icon depth CDATA #IMPLIED>
<!--
The size attribute of an icon element indicates the size of an icon file
in bytes.
-->
<!ATTLIST icon size CDATA #IMPLIED>
<!--
The offline-allowed element indicates if the application can be launched
offline. Default value (i.e., if the element is not specified) is
online.
-->
<!ELEMENT offline-allowed EMPTY>
<!--
The security element describes the security requirements of the
application.
-->
<!ELEMENT security (all-permissions?, j2ee-application-client-permissions?)>
<!--
The all-permissions element indicates that the application needs full
access the the local system and network.
-->
<!ELEMENT all-permissions EMPTY>
<!--
The j2ee-application-client-permissions element indicates that the
application needs the set of permissions defined for a J2EE application
client.
-->
<!ELEMENT j2ee-application-client-permissions EMPTY>
<!--
The resources element contains an ordered set of resources that
constitutes an application.
-->
<!ELEMENT resources (j2se | jar | nativelib | extension | property |
package)*>
<!--
The os attribute of the resources element specifies for which operating
system this element should be considered.
-->
<!ATTLIST resources os CDATA #IMPLIED>
<!--
The arch attribute of the resources element specifies for what platform
this element should be considered.
-->
<!ATTLIST resources arch CDATA #IMPLIED>
<!--
The locale attribute of the resources element specifies for which
locales this element should be considered.
-->
<!ATTLIST resources locale CDATA #IMPLIED>
<!--
The j2se element describes a supported JRE version and an optional
resources element to be used by the particular JRE.
-->
<!ELEMENT j2se (resources*)>
<!--
The version attribute of the j2se element describes the versions of the
JRE that this application is supported on.
-->
<!ATTLIST j2se version CDATA #REQUIRED>
<!--
The href attribute of the j2se element specifies the location where the
JRE should be downloaded from.
-->
<!ATTLIST j2se href CDATA #IMPLIED>
<!--
The initial-heap-size attribute of the j2se element specifies the
initial size of the object heap.
-->
<!ATTLIST j2se initial-heap-size CDATA #IMPLIED>
<!--
The max-heap-size attribute of the j2se element specifies the preferred
maximum size of the object heap.
-->
<!ATTLIST j2se max-heap-size CDATA #IMPLIED>
<!--
The jar element describes a jar file resource.
-->
<!ELEMENT jar EMPTY>
<!--
The href attribute of the jar element contains the location of a jar
file as a URL.
-->
<!ATTLIST jar href CDATA #REQUIRED>
<!--
The version attribute of a jar element describes the version of a
particular JAR file that is requested.
-->
<!ATTLIST jar version CDATA #IMPLIED>
<!--
The main attribute of a jar element indicates whether this element
contains the main class.
-->
<!ATTLIST jar main (true|false) "false">
<!--
The download attribute of a jar element indicates if this element must
be downloaded before an application is launched (eager), or not (lazy).
-->
<!ATTLIST jar download (eager | lazy) "eager">
<!--
The size attribute of a jar element indicates the size of a JAR file in
bytes.
-->
<!ATTLIST jar size CDATA #IMPLIED>
<!--
The part attribute of a jar element describes the name of the group it
belongs too.
-->
<!ATTLIST jar part CDATA #IMPLIED>
<!--
The nativelib element describes a resource containing native files.
-->
<!ELEMENT nativelib EMPTY>
<!--
The href attribute of a nativelib element contains the location of a
nativelib file as a URL.
-->
<!ATTLIST nativelib href CDATA #REQUIRED>
<!--
The version attribute of a nativelib element describes the version of a
particular nativelib file that is requested.
-->
<!ATTLIST nativelib version CDATA #IMPLIED>
<!--
The download attribute of a nativelib element indicates if this element
must be downloaded before an application is launched (eager), or not
(lazy).
-->
<!ATTLIST nativelib download (eager | lazy) "eager">
<!--
The size attribute of a nativelib element indicates the size of a
nativelib file in bytes.
-->
<!ATTLIST nativelib size CDATA #IMPLIED>
<!--
The part attribute of a nativelib element describes the name of the part
it belongs to.
-->
<!ATTLIST nativelib part CDATA #IMPLIED>
<!--
The extension element describes an extension that is required in order
to run the application.
-->
<!ELEMENT extension (ext-download*)>
<!--
The version attribute of an extension element specifies the version of
the extension requested.
-->
<!ATTLIST extension version CDATA #IMPLIED>
<!--
The name attribute of an extension element specifies the name of the
extension.
-->
<!ATTLIST extension name CDATA #IMPLIED>
<!--
The href attribute of an extension element specifies the location of
the extension.
-->
<!ATTLIST extension href CDATA #REQUIRED>
<!--
The ext-download element defines how parts of the extension are
downloaded.
-->
<!ELEMENT ext-download EMPTY>
<!--
The ext-part attribute of an ext-download element describes the name of
a part in the extension.
-->
<!ATTLIST ext-download ext-part CDATA #REQUIRED>
<!--
The download attribute of an ext-download element describes if the
resource may be lazily downloaded.
-->
<!ATTLIST ext-download download (lazy|eager) "eager">
<!--
The part attribute of an ext-download element describes the name of the
part it belongs to in the current JNLP file.
-->
<!ATTLIST ext-download part CDATA #IMPLIED>
<!--
The property element describes a name/value pair that is available to
the launched application as a system property.
-->
<!ELEMENT property EMPTY>
<!--
The name attribute of the property element describes the name of a
system property.
-->
<!ATTLIST property name CDATA #REQUIRED>
<!--
The value element describes the value of a system property.
-->
<!ATTLIST property value CDATA #REQUIRED>
<!--
The package element defines a relationship between a Java package or
class name and a part.
-->
<!ELEMENT package EMPTY>
<!--
The name attribute of the package element describes the name of a
package or class.
-->
<!ATTLIST package name CDATA #REQUIRED>
<!--
The part attribute of the package element describes the part that
contains the specified package or class.
-->
<!ATTLIST package part CDATA #REQUIRED>
<!--
The recursive attribute of the package element indicates if all sub-
packages of this particular package is also included.
-->
<!ATTLIST package recursive (true|false) "false">
<!--
The application-desc element describes how to launch a Java-based
application. It contains information about the main class and arguments.
-->
<!ELEMENT application-desc (argument*)>
<!--
The main-class attribute of the application-desc element describes the
main class of an application.
-->
<!ATTLIST application-desc main-class CDATA #IMPLIED>
<!--
The argument elements describe the ordered set of arguments to an
application. These arguments will be passed into the main method of the
application's main class.
-->
<!ELEMENT argument (#PCDATA)>
<!--
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.
-->
<!ELEMENT applet-desc (param*)>
<!--
The documentbase attribute of the applet-desc element describes the
documentbase for the applet as a URL.
-->
<!ATTLIST applet-desc documentbase CDATA #IMPLIED>
<!--
The main-class attribute of the applet-desc element describes the name
of the main Applet class.
-->
<!ATTLIST applet-desc main-class CDATA #REQUIRED>
<!--
The name attribute of the applet-desc element describes the name of the
Applet.
-->
<!ATTLIST applet-desc name CDATA #REQUIRED>
<!--
The width attribute of the applet-desc element describes the width of
the Applet in pixels.
-->
<!ATTLIST applet-desc width CDATA #REQUIRED>
<!--
The height attribute of the applet-desc element describes the height of
the Applet in pixels.
-->
<!ATTLIST applet-desc height CDATA #REQUIRED>
<!--
The param element describes a parameter to an Applet.
-->
<!ELEMENT param EMPTY>
<!--
The name attribute of the param element describes the name of a
parameter.
-->
<!ATTLIST param name CDATA #REQUIRED>
<!--
The value attribute of the param element describes the value of a
parameter.
-->
<!ATTLIST param value CDATA #REQUIRED>
<!--
The component-desc element specifies a component extension.
-->
<!ELEMENT component-desc EMPTY>
<!--
The installer-desc element specifies an installer extension.
-->
<!ELEMENT installer-desc EMPTY>
<!--
The main-class attribute of the installer-desc element describes the
main class for the installer/uninstaller.
-->
<!ATTLIST installer-desc main-class CDATA #IMPLIED>
|