-
Notifications
You must be signed in to change notification settings - Fork 3
/
myfuses.dtd
93 lines (91 loc) · 2.76 KB
/
myfuses.dtd
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
<!--
* MyFuses Framework (http://myfuses.candango.org)
*
* @link http://github.com/candango/myfuses
* @copyright Copyright (c) 2006 - 2020 Flavio Garcia
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
-->
<?xml version="1.0" encoding="UTF-8"?>
<!--
Used within the fusebox.xml or myfuses.xml files to contain the elements that configure the application.
-->
<!ELEMENT fusebox (circuits, classes, lexicons, parameters, globalfuseactions, plugins)>
<!ELEMENT myfuses (circuits, classes, parameters, globalfuseactions, plugins)>
<!--
Specify the circuits in this application.
-->
<!ELEMENT circuits (circuit+)>
<!ELEMENT circuit EMPTY>
<!ATTLIST circuit
alias CDATA #REQUIRED
path CDATA #REQUIRED
parent CDATA #IMPLIED
>
<!--
Specify the class declarations in this application.
-->
<!ELEMENT classes (class*)>
<!ELEMENT class EMPTY>
<!ATTLIST class
alias CDATA #REQUIRED
type (component | java) "component"
namespace CDATA #IMPLIED
classpath CDATA #IMPLIED
constructor CDATA #IMPLIED
>
<!--
Specify the Fusebox 4.1 style lexicon declarations in this application. Deprecated.
-->
<!ELEMENT lexicons (lexicon*)>
<!ELEMENT lexicon EMPTY>
<!ATTLIST lexicon
namespace CDATA #REQUIRED
path CDATA #REQUIRED
>
<!--
Specify the global fuseactions - appinit is optional (since it is new) but all existing
applications will already have preprocess followed by postprocess (even if they are empty).
-->
<!ELEMENT globalfuseactions (appinit?, preprocess, postprocess)>
<!ELEMENT appinit ((do | fuseaction)*)>
<!ELEMENT preprocess ((do | fuseaction)*)>
<!ELEMENT postprocess ((do | fuseaction)*)>
<!--
Using <do> in a globalfuseaction is deprecated. Use <fuseaction> instead.
-->
<!ELEMENT do EMPTY>
<!ATTLIST do
action CDATA #REQUIRED
>
<!--
Global fuseactions should be specified using the <fuseaction> verb.
-->
<!ELEMENT fuseaction EMPTY>
<!ATTLIST fuseaction
action CDATA #REQUIRED
>
<!--
Specify the plugin declarations for the applications. In the <plugins> section
there are a number of phases, within each phase you can have <plugin> declarations.
-->
<!ELEMENT plugins (phase+)>
<!ELEMENT phase (plugin*)>
<!ATTLIST phase
name (fuseactionException | postFuseaction | postProcess | preFuseaction | preProcess | processError) #REQUIRED
>
<!ELEMENT plugin (parameter*)>
<!ATTLIST plugin
name CDATA #IMPLIED
namespace CDATA #IMPLIED
template CDATA #IMPLIED
path CDATA #IMPLIED
>
<!--
Plugins may have parameters.
-->
<!ELEMENT parameters (parameter+)>
<!ELEMENT parameter EMPTY>
<!ATTLIST parameter
name CDATA #REQUIRED
value CDATA #REQUIRED
>