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