1
|
|
/*
|
2
|
|
* JBind
|
3
|
|
*
|
4
|
|
* Copyright (c) by Stefan Wachter. All rights reserved.
|
5
|
|
*
|
6
|
|
* Usage, modification, and redistribution is subject to license terms that are
|
7
|
|
* available at 'http://www.jbind.org'. The JBind license is like the
|
8
|
|
* 'Apache Software License V 1.1'.
|
9
|
|
*/
|
10
|
|
package org.jbind.xml.schema.cmp;
|
11
|
|
|
12
|
|
import org.jbind.xml.core.cmp.IComponent;
|
13
|
|
import org.jbind.xml.core.cmp.IComponentVisitor;
|
14
|
|
import org.jbind.xml.core.cmp.INotation;
|
15
|
|
import org.jbind.xml.core.content.IAllDecl;
|
16
|
|
import org.jbind.xml.core.content.IAllDesc;
|
17
|
|
import org.jbind.xml.core.content.IAllRef;
|
18
|
|
import org.jbind.xml.core.content.IAttrDecl;
|
19
|
|
import org.jbind.xml.core.content.IAttrDesc;
|
20
|
|
import org.jbind.xml.core.content.IAttrGroupDecl;
|
21
|
|
import org.jbind.xml.core.content.IAttrGroupDesc;
|
22
|
|
import org.jbind.xml.core.content.IAttrGroupRef;
|
23
|
|
import org.jbind.xml.core.content.IAttrRef;
|
24
|
|
import org.jbind.xml.core.content.IAttrRefOrDecl;
|
25
|
|
import org.jbind.xml.core.content.IAttrWildcard;
|
26
|
|
import org.jbind.xml.core.content.IChoiceDecl;
|
27
|
|
import org.jbind.xml.core.content.IChoiceDesc;
|
28
|
|
import org.jbind.xml.core.content.IChoiceRef;
|
29
|
|
import org.jbind.xml.core.content.IContentDesc;
|
30
|
|
import org.jbind.xml.core.content.IElemDecl;
|
31
|
|
import org.jbind.xml.core.content.IElemDesc;
|
32
|
|
import org.jbind.xml.core.content.IElemGroupDesc;
|
33
|
|
import org.jbind.xml.core.content.IElemRef;
|
34
|
|
import org.jbind.xml.core.content.IElemRefOrDecl;
|
35
|
|
import org.jbind.xml.core.content.IElemWildcard;
|
36
|
|
import org.jbind.xml.core.content.ISequenceDecl;
|
37
|
|
import org.jbind.xml.core.content.ISequenceDesc;
|
38
|
|
import org.jbind.xml.core.content.ISequenceRef;
|
39
|
|
import org.jbind.xml.core.type.IAnySimpleType;
|
40
|
|
import org.jbind.xml.core.type.IAnyType;
|
41
|
|
import org.jbind.xml.core.type.IAtomicType;
|
42
|
|
import org.jbind.xml.core.type.IComplexType;
|
43
|
|
import org.jbind.xml.core.type.IListType;
|
44
|
|
import org.jbind.xml.core.type.IUnionType;
|
45
|
|
import org.jbind.xml.msg.XmlException;
|
46
|
|
|
47
|
|
public abstract class ComponentVisitor implements IComponentVisitor {
|
48
|
|
|
49
|
|
private boolean myVisitSubComponents = true;
|
50
|
|
|
51
|
171
|
public ComponentVisitor() {}
|
52
|
|
|
53
|
7180
|
public boolean shallVisitSubComponents() {
|
54
|
7180
|
return myVisitSubComponents;
|
55
|
|
}
|
56
|
|
|
57
|
|
// attribute
|
58
|
|
|
59
|
1185
|
public void visitAttrDeclEnd(IAttrDecl aComponent) throws XmlException {
|
60
|
1185
|
doVisitAttrDeclEnd(aComponent);
|
61
|
1185
|
doAfterVisit(aComponent);
|
62
|
|
}
|
63
|
|
|
64
|
1185
|
public void visitAttrDeclStart(IAttrDecl aComponent) throws XmlException {
|
65
|
1185
|
doBeforeVisit(aComponent);
|
66
|
1185
|
myVisitSubComponents = doVisitAttrDeclStart(aComponent);
|
67
|
|
}
|
68
|
|
|
69
|
52
|
public void visitAttrRefEnd(IAttrRef aComponent) throws XmlException {
|
70
|
52
|
doVisitAttrRefEnd(aComponent);
|
71
|
52
|
doAfterVisit(aComponent);
|
72
|
|
}
|
73
|
|
|
74
|
52
|
public void visitAttrRefStart(IAttrRef aComponent) throws XmlException {
|
75
|
52
|
doBeforeVisit(aComponent);
|
76
|
52
|
myVisitSubComponents = doVisitAttrRefStart(aComponent);
|
77
|
|
}
|
78
|
|
|
79
|
140
|
public void visitAttrWildcardEnd(IAttrWildcard aComponent) throws XmlException {
|
80
|
140
|
doVisitAttrWildcardEnd(aComponent);
|
81
|
140
|
doAfterVisit(aComponent);
|
82
|
|
}
|
83
|
|
|
84
|
140
|
public void visitAttrWildcardStart(IAttrWildcard aComponent) throws XmlException {
|
85
|
140
|
doBeforeVisit(aComponent);
|
86
|
140
|
myVisitSubComponents = doVisitAttrWildcardStart(aComponent);
|
87
|
|
}
|
88
|
|
|
89
|
1165
|
public void visitAttrGroupDeclEnd(IAttrGroupDecl aComponent) throws XmlException {
|
90
|
1165
|
doVisitAttrGroupDeclEnd(aComponent);
|
91
|
1165
|
doAfterVisit(aComponent);
|
92
|
|
}
|
93
|
|
|
94
|
1165
|
public void visitAttrGroupDeclStart(IAttrGroupDecl aComponent) throws XmlException {
|
95
|
1165
|
doBeforeVisit(aComponent);
|
96
|
1165
|
myVisitSubComponents = doVisitAttrGroupDeclStart(aComponent);
|
97
|
|
}
|
98
|
|
|
99
|
105
|
public void visitAttrGroupRefEnd(IAttrGroupRef aComponent) throws XmlException {
|
100
|
105
|
doVisitAttrGroupRefEnd(aComponent);
|
101
|
105
|
doAfterVisit(aComponent);
|
102
|
|
}
|
103
|
|
|
104
|
105
|
public void visitAttrGroupRefStart(IAttrGroupRef aComponent) throws XmlException {
|
105
|
105
|
doBeforeVisit(aComponent);
|
106
|
105
|
myVisitSubComponents = doVisitAttrGroupRefStart(aComponent);
|
107
|
|
}
|
108
|
|
|
109
|
|
// element
|
110
|
|
|
111
|
1500
|
public void visitElemDeclEnd(IElemDecl aComponent) throws XmlException {
|
112
|
1500
|
doVisitElemDeclEnd(aComponent);
|
113
|
1500
|
doAfterVisit(aComponent);
|
114
|
|
}
|
115
|
|
|
116
|
1500
|
public void visitElemDeclStart(IElemDecl aComponent) throws XmlException {
|
117
|
1500
|
doBeforeVisit(aComponent);
|
118
|
1500
|
myVisitSubComponents = doVisitElemDeclStart(aComponent);
|
119
|
|
}
|
120
|
|
|
121
|
444
|
public void visitElemRefEnd(IElemRef aComponent) throws XmlException {
|
122
|
444
|
doVisitElemRefEnd(aComponent);
|
123
|
444
|
doAfterVisit(aComponent);
|
124
|
|
}
|
125
|
|
|
126
|
444
|
public void visitElemRefStart(IElemRef aComponent) throws XmlException {
|
127
|
444
|
doBeforeVisit(aComponent);
|
128
|
444
|
myVisitSubComponents = doVisitElemRefStart(aComponent);
|
129
|
|
}
|
130
|
|
|
131
|
61
|
public void visitElemWildcardEnd(IElemWildcard aComponent) throws XmlException {
|
132
|
61
|
doVisitElemWildcardEnd(aComponent);
|
133
|
61
|
doAfterVisit(aComponent);
|
134
|
|
}
|
135
|
|
|
136
|
61
|
public void visitElemWildcardStart(IElemWildcard aComponent) throws XmlException {
|
137
|
61
|
doBeforeVisit(aComponent);
|
138
|
61
|
myVisitSubComponents = doVisitElemWildcardStart(aComponent);
|
139
|
|
}
|
140
|
|
|
141
|
|
// group
|
142
|
|
|
143
|
0
|
public void visitAllRefEnd(IAllRef aComponent) throws XmlException {
|
144
|
0
|
doVisitAllRefEnd(aComponent);
|
145
|
0
|
doAfterVisit(aComponent);
|
146
|
|
}
|
147
|
|
|
148
|
0
|
public void visitAllRefStart(IAllRef aComponent) throws XmlException {
|
149
|
0
|
doBeforeVisit(aComponent);
|
150
|
0
|
myVisitSubComponents = doVisitAllRefStart(aComponent);
|
151
|
|
}
|
152
|
|
|
153
|
88
|
public void visitChoiceRefEnd(IChoiceRef aComponent) throws XmlException {
|
154
|
88
|
doVisitChoiceRefEnd(aComponent);
|
155
|
88
|
doAfterVisit(aComponent);
|
156
|
|
}
|
157
|
|
|
158
|
88
|
public void visitChoiceRefStart(IChoiceRef aComponent) throws XmlException {
|
159
|
88
|
doBeforeVisit(aComponent);
|
160
|
88
|
myVisitSubComponents = doVisitChoiceRefStart(aComponent);
|
161
|
|
}
|
162
|
|
|
163
|
73
|
public void visitSequenceRefEnd(ISequenceRef aComponent) throws XmlException {
|
164
|
73
|
doVisitSequenceRefEnd(aComponent);
|
165
|
73
|
doAfterVisit(aComponent);
|
166
|
|
}
|
167
|
|
|
168
|
73
|
public void visitSequenceRefStart(ISequenceRef aComponent) throws XmlException {
|
169
|
73
|
doBeforeVisit(aComponent);
|
170
|
73
|
myVisitSubComponents = doVisitSequenceRefStart(aComponent);
|
171
|
|
}
|
172
|
|
|
173
|
32
|
public void visitAllDeclEnd(IAllDecl aComponent) throws XmlException {
|
174
|
32
|
doVisitAllDeclEnd(aComponent);
|
175
|
32
|
doAfterVisit(aComponent);
|
176
|
|
}
|
177
|
|
|
178
|
32
|
public void visitAllDeclStart(IAllDecl aComponent) throws XmlException {
|
179
|
32
|
doBeforeVisit(aComponent);
|
180
|
32
|
myVisitSubComponents = doVisitAllDeclStart(aComponent);
|
181
|
|
}
|
182
|
|
|
183
|
266
|
public void visitChoiceDeclEnd(IChoiceDecl aComponent) throws XmlException {
|
184
|
266
|
doVisitChoiceDeclEnd(aComponent);
|
185
|
266
|
doAfterVisit(aComponent);
|
186
|
|
}
|
187
|
|
|
188
|
266
|
public void visitChoiceDeclStart(IChoiceDecl aComponent) throws XmlException {
|
189
|
266
|
doBeforeVisit(aComponent);
|
190
|
266
|
myVisitSubComponents = doVisitChoiceDeclStart(aComponent);
|
191
|
|
}
|
192
|
|
|
193
|
486
|
public void visitSequenceDeclEnd(ISequenceDecl aComponent) throws XmlException {
|
194
|
486
|
doVisitSequenceDeclEnd(aComponent);
|
195
|
486
|
doAfterVisit(aComponent);
|
196
|
|
}
|
197
|
|
|
198
|
486
|
public void visitSequenceDeclStart(ISequenceDecl aComponent) throws XmlException {
|
199
|
486
|
doBeforeVisit(aComponent);
|
200
|
486
|
myVisitSubComponents = doVisitSequenceDeclStart(aComponent);
|
201
|
|
}
|
202
|
|
|
203
|
|
// type
|
204
|
|
|
205
|
0
|
public void visitAnyTypeEnd(IAnyType aComponent) throws XmlException {
|
206
|
0
|
doVisitAnyTypeEnd(aComponent);
|
207
|
0
|
doAfterVisit(aComponent);
|
208
|
|
}
|
209
|
|
|
210
|
0
|
public void visitAnyTypeStart(IAnyType aComponent) throws XmlException {
|
211
|
0
|
doBeforeVisit(aComponent);
|
212
|
0
|
myVisitSubComponents = doVisitAnyTypeStart(aComponent);
|
213
|
|
}
|
214
|
|
|
215
|
1065
|
public void visitComplexTypeEnd(IComplexType aComponent) throws XmlException {
|
216
|
1065
|
doVisitComplexTypeEnd(aComponent);
|
217
|
1065
|
doAfterVisit(aComponent);
|
218
|
|
}
|
219
|
|
|
220
|
1065
|
public void visitComplexTypeStart(IComplexType aComponent) throws XmlException {
|
221
|
1065
|
doBeforeVisit(aComponent);
|
222
|
1065
|
myVisitSubComponents = doVisitComplexTypeStart(aComponent);
|
223
|
|
}
|
224
|
|
|
225
|
0
|
public void visitNotationEnd(INotation aComponent) throws XmlException {
|
226
|
0
|
doVisitNotationEnd(aComponent);
|
227
|
0
|
doAfterVisit(aComponent);
|
228
|
|
}
|
229
|
|
|
230
|
0
|
public void visitNotationStart(INotation aComponent) throws XmlException {
|
231
|
0
|
doBeforeVisit(aComponent);
|
232
|
0
|
myVisitSubComponents = doVisitNotationStart(aComponent);
|
233
|
|
}
|
234
|
|
|
235
|
0
|
public void visitAnySimpleTypeEnd(IAnySimpleType aComponent) throws XmlException {
|
236
|
0
|
doVisitAnySimpleTypeEnd(aComponent);
|
237
|
0
|
doAfterVisit(aComponent);
|
238
|
|
}
|
239
|
|
|
240
|
0
|
public void visitAnySimpleTypeStart(IAnySimpleType aComponent) throws XmlException {
|
241
|
0
|
doBeforeVisit(aComponent);
|
242
|
0
|
myVisitSubComponents = doVisitAnySimpleTypeStart(aComponent);
|
243
|
|
}
|
244
|
|
|
245
|
385
|
public void visitAtomicTypeEnd(IAtomicType aComponent) throws XmlException {
|
246
|
385
|
doVisitAtomicTypeEnd(aComponent);
|
247
|
385
|
doAfterVisit(aComponent);
|
248
|
|
}
|
249
|
|
|
250
|
385
|
public void visitAtomicTypeStart(IAtomicType aComponent) throws XmlException {
|
251
|
385
|
doBeforeVisit(aComponent);
|
252
|
385
|
myVisitSubComponents = doVisitAtomicTypeStart(aComponent);
|
253
|
|
}
|
254
|
|
|
255
|
72
|
public void visitListTypeEnd(IListType aComponent) throws XmlException {
|
256
|
72
|
doVisitListTypeEnd(aComponent);
|
257
|
72
|
doAfterVisit(aComponent);
|
258
|
|
}
|
259
|
|
|
260
|
72
|
public void visitListTypeStart(IListType aComponent) throws XmlException {
|
261
|
72
|
doBeforeVisit(aComponent);
|
262
|
72
|
myVisitSubComponents = doVisitListTypeStart(aComponent);
|
263
|
|
}
|
264
|
|
|
265
|
61
|
public void visitUnionTypeEnd(IUnionType aComponent) throws XmlException {
|
266
|
61
|
doVisitUnionTypeEnd(aComponent);
|
267
|
61
|
doAfterVisit(aComponent);
|
268
|
|
}
|
269
|
|
|
270
|
61
|
public void visitUnionTypeStart(IUnionType aComponent) throws XmlException {
|
271
|
61
|
doBeforeVisit(aComponent);
|
272
|
61
|
myVisitSubComponents = doVisitUnionTypeStart(aComponent);
|
273
|
|
}
|
274
|
|
|
275
|
7180
|
protected void doBeforeVisit(IComponent aComponent) throws XmlException {}
|
276
|
7180
|
protected void doAfterVisit(IComponent aComponent) throws XmlException {}
|
277
|
|
|
278
|
|
|
279
|
0
|
protected boolean doVisitComponentStart(IComponent aComponent) throws XmlException {
|
280
|
|
assert false :
|
281
|
|
"visitor '" + this + "' did not handle component: " + aComponent;
|
282
|
0
|
return true;
|
283
|
|
}
|
284
|
0
|
protected void doVisitComponentEnd(IComponent aComponent) throws XmlException {
|
285
|
|
assert false :
|
286
|
|
"visitor '" + this + "' did not handle component: " + aComponent;
|
287
|
|
}
|
288
|
|
|
289
|
|
// attribute
|
290
|
|
|
291
|
0
|
protected boolean doVisitAttrDescStart(IAttrDesc aComponent) throws XmlException {
|
292
|
0
|
return doVisitComponentStart(aComponent);
|
293
|
|
}
|
294
|
715
|
protected void doVisitAttrDescEnd(IAttrDesc aComponent) throws XmlException {
|
295
|
715
|
doVisitComponentEnd(aComponent);
|
296
|
|
}
|
297
|
|
|
298
|
588
|
protected boolean doVisitAttrRefOrDeclStart(IAttrRefOrDecl aComponent) throws XmlException {
|
299
|
588
|
return doVisitAttrDescStart(aComponent);
|
300
|
|
}
|
301
|
1237
|
protected void doVisitAttrRefOrDeclEnd(IAttrRefOrDecl aComponent) throws XmlException {
|
302
|
1237
|
doVisitAttrDescEnd(aComponent);
|
303
|
|
}
|
304
|
|
|
305
|
566
|
protected boolean doVisitAttrDeclStart(IAttrDecl aComponent) throws XmlException {
|
306
|
566
|
return doVisitAttrRefOrDeclStart(aComponent);
|
307
|
|
}
|
308
|
1185
|
protected void doVisitAttrDeclEnd(IAttrDecl aComponent) throws XmlException {
|
309
|
1185
|
doVisitAttrRefOrDeclEnd(aComponent);
|
310
|
|
}
|
311
|
|
|
312
|
22
|
protected boolean doVisitAttrRefStart(IAttrRef aComponent) throws XmlException {
|
313
|
22
|
return doVisitAttrRefOrDeclStart(aComponent);
|
314
|
|
}
|
315
|
52
|
protected void doVisitAttrRefEnd(IAttrRef aComponent) throws XmlException {
|
316
|
52
|
doVisitAttrRefOrDeclEnd(aComponent);
|
317
|
|
}
|
318
|
|
|
319
|
74
|
protected boolean doVisitAttrWildcardStart(IAttrWildcard aComponent) throws XmlException {
|
320
|
74
|
return doVisitAttrDescStart(aComponent);
|
321
|
|
}
|
322
|
140
|
protected void doVisitAttrWildcardEnd(IAttrWildcard aComponent) throws XmlException {
|
323
|
140
|
doVisitAttrDescEnd(aComponent);
|
324
|
|
}
|
325
|
|
|
326
|
|
// attribute group
|
327
|
|
|
328
|
0
|
protected boolean doVisitAttrGroupDescStart(IAttrGroupDesc aComponent) throws XmlException {
|
329
|
0
|
return doVisitComponentStart(aComponent);
|
330
|
|
}
|
331
|
538
|
protected void doVisitAttrGroupDescEnd(IAttrGroupDesc aComponent) throws XmlException {
|
332
|
538
|
doVisitComponentEnd(aComponent);
|
333
|
|
}
|
334
|
|
|
335
|
1165
|
protected boolean doVisitAttrGroupDeclStart(IAttrGroupDecl aComponent) throws XmlException {
|
336
|
1165
|
return doVisitAttrGroupDescStart(aComponent);
|
337
|
|
}
|
338
|
1165
|
protected void doVisitAttrGroupDeclEnd(IAttrGroupDecl aComponent) throws XmlException {
|
339
|
1165
|
doVisitAttrGroupDescEnd(aComponent);
|
340
|
|
}
|
341
|
|
|
342
|
105
|
protected boolean doVisitAttrGroupRefStart(IAttrGroupRef aComponent) throws XmlException {
|
343
|
105
|
return doVisitAttrGroupDescStart(aComponent);
|
344
|
|
}
|
345
|
105
|
protected void doVisitAttrGroupRefEnd(IAttrGroupRef aComponent) throws XmlException {
|
346
|
105
|
doVisitAttrGroupDescEnd(aComponent);
|
347
|
|
}
|
348
|
|
|
349
|
|
// content
|
350
|
|
|
351
|
0
|
protected boolean doVisitContentDescStart(IContentDesc aComponent) throws XmlException {
|
352
|
0
|
return doVisitComponentStart(aComponent);
|
353
|
|
}
|
354
|
1318
|
protected void doVisitContentDescEnd(IContentDesc aComponent) throws XmlException {
|
355
|
1318
|
doVisitComponentEnd(aComponent);
|
356
|
|
}
|
357
|
|
|
358
|
|
// element
|
359
|
|
|
360
|
0
|
protected boolean doVisitElemDescStart(IElemDesc aComponent) throws XmlException {
|
361
|
0
|
return doVisitContentDescStart(aComponent);
|
362
|
|
}
|
363
|
897
|
protected void doVisitElemDescEnd(IElemDesc aComponent) throws XmlException {
|
364
|
897
|
doVisitContentDescEnd(aComponent);
|
365
|
|
}
|
366
|
|
|
367
|
1074
|
protected boolean doVisitElemRefOrDeclStart(IElemRefOrDecl aComponent) throws XmlException {
|
368
|
1074
|
return doVisitElemDescStart(aComponent);
|
369
|
|
}
|
370
|
1944
|
protected void doVisitElemRefOrDeclEnd(IElemRefOrDecl aComponent) throws XmlException {
|
371
|
1944
|
doVisitElemDescEnd(aComponent);
|
372
|
|
}
|
373
|
|
|
374
|
234
|
protected boolean doVisitElemRefStart(IElemRef aComponent) throws XmlException {
|
375
|
234
|
return doVisitElemRefOrDeclStart(aComponent);
|
376
|
|
}
|
377
|
444
|
protected void doVisitElemRefEnd(IElemRef aComponent) throws XmlException {
|
378
|
444
|
doVisitElemRefOrDeclEnd(aComponent);
|
379
|
|
}
|
380
|
|
|
381
|
840
|
protected boolean doVisitElemDeclStart(IElemDecl aComponent) throws XmlException {
|
382
|
840
|
return doVisitElemRefOrDeclStart(aComponent);
|
383
|
|
}
|
384
|
1500
|
protected void doVisitElemDeclEnd(IElemDecl aComponent) throws XmlException {
|
385
|
1500
|
doVisitElemRefOrDeclEnd(aComponent);
|
386
|
|
}
|
387
|
|
|
388
|
34
|
protected boolean doVisitElemWildcardStart(IElemWildcard aComponent) throws XmlException {
|
389
|
34
|
return doVisitElemDescStart(aComponent);
|
390
|
|
}
|
391
|
61
|
protected void doVisitElemWildcardEnd(IElemWildcard aComponent) throws XmlException {
|
392
|
61
|
doVisitElemDescEnd(aComponent);
|
393
|
|
}
|
394
|
|
|
395
|
|
// group
|
396
|
|
|
397
|
0
|
protected boolean doVisitElemGroupDescStart(IElemGroupDesc aComponent) throws XmlException {
|
398
|
0
|
return doVisitContentDescStart(aComponent);
|
399
|
|
}
|
400
|
421
|
protected void doVisitElemGroupDescEnd(IElemGroupDesc aComponent) throws XmlException {
|
401
|
421
|
doVisitContentDescEnd(aComponent);
|
402
|
|
}
|
403
|
|
|
404
|
32
|
protected boolean doVisitAllDescStart(IAllDesc aComponent) throws XmlException {
|
405
|
32
|
return doVisitElemGroupDescStart(aComponent);
|
406
|
|
}
|
407
|
32
|
protected void doVisitAllDescEnd(IAllDesc aComponent) throws XmlException {
|
408
|
32
|
doVisitElemGroupDescEnd(aComponent);
|
409
|
|
}
|
410
|
|
|
411
|
354
|
protected boolean doVisitChoiceDescStart(IChoiceDesc aComponent) throws XmlException {
|
412
|
354
|
return doVisitElemGroupDescStart(aComponent);
|
413
|
|
}
|
414
|
354
|
protected void doVisitChoiceDescEnd(IChoiceDesc aComponent) throws XmlException {
|
415
|
354
|
doVisitElemGroupDescEnd(aComponent);
|
416
|
|
}
|
417
|
|
|
418
|
559
|
protected boolean doVisitSequenceDescStart(ISequenceDesc aComponent) throws XmlException {
|
419
|
559
|
return doVisitElemGroupDescStart(aComponent);
|
420
|
|
}
|
421
|
559
|
protected void doVisitSequenceDescEnd(ISequenceDesc aComponent) throws XmlException {
|
422
|
559
|
doVisitElemGroupDescEnd(aComponent);
|
423
|
|
}
|
424
|
|
|
425
|
0
|
protected boolean doVisitAllRefStart(IAllRef aComponent) throws XmlException {
|
426
|
0
|
return doVisitAllDescStart(aComponent);
|
427
|
|
}
|
428
|
0
|
protected void doVisitAllRefEnd(IAllRef aComponent) throws XmlException {
|
429
|
0
|
doVisitAllDescEnd(aComponent);
|
430
|
|
}
|
431
|
|
|
432
|
88
|
protected boolean doVisitChoiceRefStart(IChoiceRef aComponent) throws XmlException {
|
433
|
88
|
return doVisitChoiceDescStart(aComponent);
|
434
|
|
}
|
435
|
88
|
protected void doVisitChoiceRefEnd(IChoiceRef aComponent) throws XmlException {
|
436
|
88
|
doVisitChoiceDescEnd(aComponent);
|
437
|
|
}
|
438
|
|
|
439
|
73
|
protected boolean doVisitSequenceRefStart(ISequenceRef aComponent) throws XmlException {
|
440
|
73
|
return doVisitSequenceDescStart(aComponent);
|
441
|
|
}
|
442
|
73
|
protected void doVisitSequenceRefEnd(ISequenceRef aComponent) throws XmlException {
|
443
|
73
|
doVisitSequenceDescEnd(aComponent);
|
444
|
|
}
|
445
|
|
|
446
|
32
|
protected boolean doVisitAllDeclStart(IAllDecl aComponent) throws XmlException {
|
447
|
32
|
return doVisitAllDescStart(aComponent);
|
448
|
|
}
|
449
|
32
|
protected void doVisitAllDeclEnd(IAllDecl aComponent) throws XmlException {
|
450
|
32
|
doVisitAllDescEnd(aComponent);
|
451
|
|
}
|
452
|
|
|
453
|
266
|
protected boolean doVisitChoiceDeclStart(IChoiceDecl aComponent) throws XmlException {
|
454
|
266
|
return doVisitChoiceDescStart(aComponent);
|
455
|
|
}
|
456
|
266
|
protected void doVisitChoiceDeclEnd(IChoiceDecl aComponent) throws XmlException {
|
457
|
266
|
doVisitChoiceDescEnd(aComponent);
|
458
|
|
}
|
459
|
|
|
460
|
486
|
protected boolean doVisitSequenceDeclStart(ISequenceDecl aComponent) throws XmlException {
|
461
|
486
|
return doVisitSequenceDescStart(aComponent);
|
462
|
|
}
|
463
|
486
|
protected void doVisitSequenceDeclEnd(ISequenceDecl aComponent) throws XmlException {
|
464
|
486
|
doVisitSequenceDescEnd(aComponent);
|
465
|
|
}
|
466
|
|
|
467
|
|
// type
|
468
|
|
|
469
|
0
|
protected boolean doVisitAnyTypeStart(IAnyType aComponent) throws XmlException {
|
470
|
0
|
return doVisitComponentStart(aComponent);
|
471
|
|
}
|
472
|
701
|
protected void doVisitAnyTypeEnd(IAnyType aComponent) throws XmlException {
|
473
|
701
|
doVisitComponentEnd(aComponent);
|
474
|
|
}
|
475
|
|
|
476
|
1065
|
protected boolean doVisitComplexTypeStart(IComplexType aComponent) throws XmlException {
|
477
|
1065
|
return doVisitAnyTypeStart(aComponent);
|
478
|
|
}
|
479
|
1065
|
protected void doVisitComplexTypeEnd(IComplexType aComponent) throws XmlException {
|
480
|
1065
|
doVisitAnyTypeEnd(aComponent);
|
481
|
|
}
|
482
|
|
|
483
|
518
|
protected boolean doVisitAnySimpleTypeStart(IAnySimpleType aComponent) throws XmlException {
|
484
|
518
|
return doVisitAnyTypeStart(aComponent);
|
485
|
|
}
|
486
|
518
|
protected void doVisitAnySimpleTypeEnd(IAnySimpleType aComponent) throws XmlException {
|
487
|
518
|
doVisitAnyTypeEnd(aComponent);
|
488
|
|
}
|
489
|
|
|
490
|
61
|
protected boolean doVisitUnionTypeStart(IUnionType aComponent) throws XmlException {
|
491
|
61
|
return doVisitAnySimpleTypeStart(aComponent);
|
492
|
|
}
|
493
|
61
|
protected void doVisitUnionTypeEnd(IUnionType aComponent) throws XmlException {
|
494
|
61
|
doVisitAnySimpleTypeEnd(aComponent);
|
495
|
|
}
|
496
|
|
|
497
|
385
|
protected boolean doVisitAtomicTypeStart(IAtomicType aComponent) throws XmlException {
|
498
|
385
|
return doVisitAnySimpleTypeStart(aComponent);
|
499
|
|
}
|
500
|
385
|
protected void doVisitAtomicTypeEnd(IAtomicType aComponent) throws XmlException {
|
501
|
385
|
doVisitAnySimpleTypeEnd(aComponent);
|
502
|
|
}
|
503
|
|
|
504
|
72
|
protected boolean doVisitListTypeStart(IListType aComponent) throws XmlException {
|
505
|
72
|
return doVisitAnySimpleTypeStart(aComponent);
|
506
|
|
}
|
507
|
72
|
protected void doVisitListTypeEnd(IListType aComponent) throws XmlException {
|
508
|
72
|
doVisitAnySimpleTypeEnd(aComponent);
|
509
|
|
}
|
510
|
|
|
511
|
|
// other
|
512
|
|
|
513
|
0
|
protected boolean doVisitNotationStart(INotation aComponent) throws XmlException {
|
514
|
0
|
return doVisitComponentStart(aComponent);
|
515
|
|
}
|
516
|
0
|
protected void doVisitNotationEnd(INotation aComponent) throws XmlException {
|
517
|
0
|
doVisitComponentEnd(aComponent);
|
518
|
|
}
|
519
|
|
|
520
|
|
}
|
521
|
|
|