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