KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ws > jaxme > generator > sg > impl > ccsg > ParticleVisitor


1 package org.apache.ws.jaxme.generator.sg.impl.ccsg;
2
3 import org.apache.ws.jaxme.generator.sg.ComplexTypeSG;
4 import org.apache.ws.jaxme.generator.sg.GroupSG;
5 import org.apache.ws.jaxme.generator.sg.ParticleSG;
6 import org.xml.sax.SAXException JavaDoc;
7
8
9 /** A <code>ParticleVisitor</code> iterates over a groups
10  * particles.
11  */

12 public interface ParticleVisitor {
13     /** Invoked for an empty type.
14      * @throws SAXException The visitor failed.
15      */

16     void emptyType(ComplexTypeSG type) throws SAXException JavaDoc;
17     /** Invoked for a complex type with simple content.
18      * @throws SAXException The visitor failed.
19      */

20     void simpleContent(ComplexTypeSG type) throws SAXException JavaDoc;
21     /** Invoked to begin a sequence.
22      * @throws SAXException The visitor failed.
23      */

24     void startSequence(GroupSG group) throws SAXException JavaDoc;
25     /** Invoked to end a sequence.
26      * @throws SAXException The visitor failed.
27      */

28     void endSequence(GroupSG group) throws SAXException JavaDoc;
29     /** Invoked to start a choice group.
30      * @throws SAXException The visitor failed.
31      */

32     void startChoice(GroupSG group) throws SAXException JavaDoc;
33     /** Invoked to end a choice group.
34      * @throws SAXException The visitor failed.
35      */

36     void endChoice(GroupSG group) throws SAXException JavaDoc;
37     /** Invoked to start an all group.
38      * @throws SAXException The visitor failed.
39      */

40     void startAll(GroupSG group) throws SAXException JavaDoc;
41     /** Invoked to end an all group.
42      * @throws SAXException The visitor failed.
43      */

44     void endAll(GroupSG group) throws SAXException JavaDoc;
45     /** Invoked to start a complex content types
46      * content.
47      * @throws SAXException The visitor failed.
48      */

49     void startComplexContent(ComplexTypeSG type) throws SAXException JavaDoc;
50     /** Invoked to end a complex content types content.
51      * @throws SAXException The visitor failed.
52      */

53     void endComplexContent(ComplexTypeSG type) throws SAXException JavaDoc;
54     /** Invoked to process an element with simple type.
55      * @throws SAXException The visitor failed.
56      */

57     void simpleElementParticle(GroupSG pGroup,ParticleSG particle) throws SAXException JavaDoc;
58     /** Invoked to process an element with complex type.
59      * @throws SAXException The visitor failed.
60      */

61     void complexElementParticle(GroupSG pGroup, ParticleSG particle) throws SAXException JavaDoc;
62     /** Invoked to process a wildcard particle.
63      * @throws SAXException The visitor failed.
64      */

65     void wildcardParticle(ParticleSG particle) throws SAXException JavaDoc;
66 }
67
Popular Tags