forked from jhfrench/Workstream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fusebox.dtd
99 lines (95 loc) · 2.88 KB
/
fusebox.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
94
95
96
97
98
99
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2006-2007 TeraTech, Inc. http://teratech.com/
Licensed 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.
-->
<!--
Used within the fusebox.xml page to contain the elements that configure the application.
Ticket 159: made all elements optional - but logistically a Fusebox requires at least one circuit.
-->
<!ELEMENT fusebox (circuits?, classes?, lexicons?, 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
relative (true | false | yes | no) "true"
>
<!--
Specify the class declarations in this application.
-->
<!ELEMENT classes (class*)>
<!ELEMENT class EMPTY>
<!ATTLIST class
alias CDATA #REQUIRED
type (component | java) "component"
classpath CDATA #REQUIRED
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 #REQUIRED
template CDATA #REQUIRED
path CDATA #IMPLIED
>
<!--
Plugins may have parameters.
-->
<!ELEMENT parameters (parameter*)>
<!ELEMENT parameter EMPTY>
<!ATTLIST parameter
name CDATA #REQUIRED
value CDATA #REQUIRED
>