org.apache.ws.jaxme.generator.sg.impl.ccsg
Interface ParticleVisitor

All Known Implementing Classes:
BeanGeneratingVisitor, DriverGeneratingVisitor, ParticleVisitorImpl

public interface ParticleVisitor

A ParticleVisitor iterates over a groups particles.


Method Summary
 void complexElementParticle(GroupSG pGroup, ParticleSG particle)
          Invoked to process an element with complex type.
 void emptyType(ComplexTypeSG type)
          Invoked for an empty type.
 void endAll(GroupSG group)
          Invoked to end an all group.
 void endChoice(GroupSG group)
          Invoked to end a choice group.
 void endComplexContent(ComplexTypeSG type)
          Invoked to end a complex content types content.
 void endSequence(GroupSG group)
          Invoked to end a sequence.
 void simpleContent(ComplexTypeSG type)
          Invoked for a complex type with simple content.
 void simpleElementParticle(GroupSG pGroup, ParticleSG particle)
          Invoked to process an element with simple type.
 void startAll(GroupSG group)
          Invoked to start an all group.
 void startChoice(GroupSG group)
          Invoked to start a choice group.
 void startComplexContent(ComplexTypeSG type)
          Invoked to start a complex content types content.
 void startSequence(GroupSG group)
          Invoked to begin a sequence.
 void wildcardParticle(ParticleSG particle)
          Invoked to process a wildcard particle.
 

Method Detail

emptyType

void emptyType(ComplexTypeSG type)
               throws org.xml.sax.SAXException
Invoked for an empty type.

Throws:
org.xml.sax.SAXException - The visitor failed.

simpleContent

void simpleContent(ComplexTypeSG type)
                   throws org.xml.sax.SAXException
Invoked for a complex type with simple content.

Throws:
org.xml.sax.SAXException - The visitor failed.

startSequence

void startSequence(GroupSG group)
                   throws org.xml.sax.SAXException
Invoked to begin a sequence.

Throws:
org.xml.sax.SAXException - The visitor failed.

endSequence

void endSequence(GroupSG group)
                 throws org.xml.sax.SAXException
Invoked to end a sequence.

Throws:
org.xml.sax.SAXException - The visitor failed.

startChoice

void startChoice(GroupSG group)
                 throws org.xml.sax.SAXException
Invoked to start a choice group.

Throws:
org.xml.sax.SAXException - The visitor failed.

endChoice

void endChoice(GroupSG group)
               throws org.xml.sax.SAXException
Invoked to end a choice group.

Throws:
org.xml.sax.SAXException - The visitor failed.

startAll

void startAll(GroupSG group)
              throws org.xml.sax.SAXException
Invoked to start an all group.

Throws:
org.xml.sax.SAXException - The visitor failed.

endAll

void endAll(GroupSG group)
            throws org.xml.sax.SAXException
Invoked to end an all group.

Throws:
org.xml.sax.SAXException - The visitor failed.

startComplexContent

void startComplexContent(ComplexTypeSG type)
                         throws org.xml.sax.SAXException
Invoked to start a complex content types content.

Throws:
org.xml.sax.SAXException - The visitor failed.

endComplexContent

void endComplexContent(ComplexTypeSG type)
                       throws org.xml.sax.SAXException
Invoked to end a complex content types content.

Throws:
org.xml.sax.SAXException - The visitor failed.

simpleElementParticle

void simpleElementParticle(GroupSG pGroup,
                           ParticleSG particle)
                           throws org.xml.sax.SAXException
Invoked to process an element with simple type.

Throws:
org.xml.sax.SAXException - The visitor failed.

complexElementParticle

void complexElementParticle(GroupSG pGroup,
                            ParticleSG particle)
                            throws org.xml.sax.SAXException
Invoked to process an element with complex type.

Throws:
org.xml.sax.SAXException - The visitor failed.

wildcardParticle

void wildcardParticle(ParticleSG particle)
                      throws org.xml.sax.SAXException
Invoked to process a wildcard particle.

Throws:
org.xml.sax.SAXException - The visitor failed.