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 package fr.paris.lutece.portal.business.editor;
35
36
37
38
39
40
41 public class ParserComplexElement
42 {
43 private String _strTagName;
44 private String _strOpenSubstWithParam;
45 private String _strCloseSubstWithParam;
46 private String _strOpenSubstWithoutParam;
47 private String _strCloseSubstWithoutParam;
48 private String _strInternalSubst;
49 private boolean _bProcessInternalTags;
50 private boolean _bAcceptParam;
51 private boolean _bRequiresQuotedParam;
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74 public ParserComplexElement( String strTagName, String strOpenSubstWithParam, String strCloseSubstWithParam, String strOpenSubstWithoutParam,
75 String strCloseSubstWithoutParam, String strInternalSubst, boolean bProcessInternalTags, boolean bAcceptParam, boolean bRequiresQuotedParam )
76 {
77 _strTagName = strTagName;
78 _strOpenSubstWithParam = strOpenSubstWithParam;
79 _strCloseSubstWithParam = strCloseSubstWithParam;
80 _strOpenSubstWithoutParam = strOpenSubstWithoutParam;
81 _strCloseSubstWithoutParam = strCloseSubstWithoutParam;
82 _strInternalSubst = strInternalSubst;
83 _bProcessInternalTags = bProcessInternalTags;
84 _bAcceptParam = bAcceptParam;
85 _bRequiresQuotedParam = bRequiresQuotedParam;
86 }
87
88
89
90
91
92 public String getTagName( )
93 {
94 return _strTagName;
95 }
96
97
98
99
100
101
102
103 public void setTagName( String strTagName )
104 {
105 _strTagName = strTagName;
106 }
107
108
109
110
111
112
113 public String getOpenSubstWithParam( )
114 {
115 return _strOpenSubstWithParam;
116 }
117
118
119
120
121
122
123 public void setOpenSubstWithParam( String strOpenSubstWithParam )
124 {
125 _strOpenSubstWithParam = strOpenSubstWithParam;
126 }
127
128
129
130
131
132 public String getCloseSubstWithParam( )
133 {
134 return _strCloseSubstWithParam;
135 }
136
137
138
139
140
141
142 public void setCloseSubstWithParam( String strCloseSubstWithParam )
143 {
144 _strCloseSubstWithParam = strCloseSubstWithParam;
145 }
146
147
148
149
150
151 public String getOpenSubstWithoutParam( )
152 {
153 return _strOpenSubstWithoutParam;
154 }
155
156
157
158
159
160
161 public void setOpenSubstWithoutParam( String strOpenSubstWithoutParam )
162 {
163 _strOpenSubstWithoutParam = strOpenSubstWithoutParam;
164 }
165
166
167
168
169
170 public String getCloseSubstWithoutParam( )
171 {
172 return _strCloseSubstWithoutParam;
173 }
174
175
176
177
178
179
180 public void setCloseSubstWithoutParam( String strCloseSubstWithoutParam )
181 {
182 _strCloseSubstWithoutParam = strCloseSubstWithoutParam;
183 }
184
185
186
187
188
189 public String getInternalSubst( )
190 {
191 return _strInternalSubst;
192 }
193
194
195
196
197
198
199 public void setInternalSubst( String strInternalSubst )
200 {
201 _strInternalSubst = strInternalSubst;
202 }
203
204
205
206
207
208 public boolean isProcessInternalTags( )
209 {
210 return _bProcessInternalTags;
211 }
212
213
214
215
216
217
218 public void setProcessInternalTags( boolean bProcessInternalTags )
219 {
220 _bProcessInternalTags = bProcessInternalTags;
221 }
222
223
224
225
226
227 public boolean isAcceptParam( )
228 {
229 return _bAcceptParam;
230 }
231
232
233
234
235
236
237 public void setAcceptParam( boolean bAcceptParam )
238 {
239 _bAcceptParam = bAcceptParam;
240 }
241
242
243
244
245
246 public boolean isRequiresQuotedParam( )
247 {
248 return _bRequiresQuotedParam;
249 }
250
251
252
253
254
255
256 public void setRequiresQuotedParam( boolean bRequiresQuotedParam )
257 {
258 _bRequiresQuotedParam = bRequiresQuotedParam;
259 }
260 }