|
| 1 | +<!-- |
| 2 | + * MyFuses Framework (http://myfuses.candango.org) |
| 3 | + * |
| 4 | + * @link http://github.com/candango/myfuses |
| 5 | + * @copyright Copyright (c) 2006 - 2020 Flavio Garcia |
| 6 | + * @license https://www.apache.org/licenses/LICENSE-2.0 Apache-2.0 |
| 7 | +--> |
| 8 | + |
| 9 | + <?xml version="1.0" encoding="UTF-8"?> |
| 10 | + <!-- |
| 11 | + Used within the fusebox.xml or myfuses.xml files to contain the elements that configure the application. |
| 12 | + --> |
| 13 | + <!ELEMENT fusebox (circuits, classes, lexicons, parameters, globalfuseactions, plugins)> |
| 14 | + <!ELEMENT myfuses (circuits, classes, parameters, globalfuseactions, plugins)> |
| 15 | + |
| 16 | + <!-- |
| 17 | + Specify the circuits in this application. |
| 18 | + --> |
| 19 | + <!ELEMENT circuits (circuit+)> |
| 20 | + <!ELEMENT circuit EMPTY> |
| 21 | + <!ATTLIST circuit |
| 22 | + alias CDATA #REQUIRED |
| 23 | + path CDATA #REQUIRED |
| 24 | + parent CDATA #IMPLIED |
| 25 | + > |
| 26 | + <!-- |
| 27 | + Specify the class declarations in this application. |
| 28 | + --> |
| 29 | + <!ELEMENT classes (class*)> |
| 30 | + <!ELEMENT class EMPTY> |
| 31 | + <!ATTLIST class |
| 32 | + alias CDATA #REQUIRED |
| 33 | + type (component | java) "component" |
| 34 | + namespace CDATA #IMPLIED |
| 35 | + classpath CDATA #IMPLIED |
| 36 | + constructor CDATA #IMPLIED |
| 37 | + > |
| 38 | + <!-- |
| 39 | + Specify the Fusebox 4.1 style lexicon declarations in this application. Deprecated. |
| 40 | + --> |
| 41 | + <!ELEMENT lexicons (lexicon*)> |
| 42 | + <!ELEMENT lexicon EMPTY> |
| 43 | + <!ATTLIST lexicon |
| 44 | + namespace CDATA #REQUIRED |
| 45 | + path CDATA #REQUIRED |
| 46 | + > |
| 47 | + <!-- |
| 48 | + Specify the global fuseactions - appinit is optional (since it is new) but all existing |
| 49 | + applications will already have preprocess followed by postprocess (even if they are empty). |
| 50 | + --> |
| 51 | + <!ELEMENT globalfuseactions (appinit?, preprocess, postprocess)> |
| 52 | + <!ELEMENT appinit ((do | fuseaction)*)> |
| 53 | + <!ELEMENT preprocess ((do | fuseaction)*)> |
| 54 | + <!ELEMENT postprocess ((do | fuseaction)*)> |
| 55 | + <!-- |
| 56 | + Using <do> in a globalfuseaction is deprecated. Use <fuseaction> instead. |
| 57 | + --> |
| 58 | + <!ELEMENT do EMPTY> |
| 59 | + <!ATTLIST do |
| 60 | + action CDATA #REQUIRED |
| 61 | + > |
| 62 | + <!-- |
| 63 | + Global fuseactions should be specified using the <fuseaction> verb. |
| 64 | + --> |
| 65 | + <!ELEMENT fuseaction EMPTY> |
| 66 | + <!ATTLIST fuseaction |
| 67 | + action CDATA #REQUIRED |
| 68 | + > |
| 69 | + <!-- |
| 70 | + Specify the plugin declarations for the applications. In the <plugins> section |
| 71 | + there are a number of phases, within each phase you can have <plugin> declarations. |
| 72 | + --> |
| 73 | + <!ELEMENT plugins (phase+)> |
| 74 | + <!ELEMENT phase (plugin*)> |
| 75 | + <!ATTLIST phase |
| 76 | + name (fuseactionException | postFuseaction | postProcess | preFuseaction | preProcess | processError) #REQUIRED |
| 77 | + > |
| 78 | + <!ELEMENT plugin (parameter*)> |
| 79 | + <!ATTLIST plugin |
| 80 | + name CDATA #IMPLIED |
| 81 | + namespace CDATA #IMPLIED |
| 82 | + template CDATA #IMPLIED |
| 83 | + path CDATA #IMPLIED |
| 84 | + > |
| 85 | + <!-- |
| 86 | + Plugins may have parameters. |
| 87 | + --> |
| 88 | + <!ELEMENT parameters (parameter+)> |
| 89 | + <!ELEMENT parameter EMPTY> |
| 90 | + <!ATTLIST parameter |
| 91 | + name CDATA #REQUIRED |
| 92 | + value CDATA #REQUIRED |
| 93 | + > |
0 commit comments