Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.ccsg.ParticleVisitorImpl
org.apache.ws.jaxme.generator.sg.impl.ccsg.DriverGeneratingVisitor
public class DriverGeneratingVisitor
extends ParticleVisitorImpl
ParticleVisitor
for generating the driver class.
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
protected List |
|
void |
|
void |
|
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.ParticleVisitorImpl | |
complexElementParticle , emptyType , endAll , endChoice , endComplexContent , endSequence , simpleContent , simpleElementParticle , startAll , startChoice , startComplexContent , startSequence , wildcardParticle |
public DriverGeneratingVisitor(JavaSource pJs)
Creates a new instance, which writes methods into the given class.
public void complexElementParticle(GroupSG pGroup, ParticleSG pParticle) throws SAXException
Invoked to process an element with complex type.
- Specified by:
- complexElementParticle in interface ParticleVisitor
- Overrides:
- complexElementParticle in interface ParticleVisitorImpl
public void emptyType(ComplexTypeSG pType) throws SAXException
Invoked for an empty type.
- Specified by:
- emptyType in interface ParticleVisitor
- Overrides:
- emptyType in interface ParticleVisitorImpl
protected List getNames(ComplexTypeSG pType) throws SAXException
This method builds a list of the names, which are being used in the element. The list is used for generating the methodJMSAXDriver.getPreferredPrefix(String)
.
public void simpleContent(ComplexTypeSG pType) throws SAXException
Invoked for a complex type with simple content.
- Specified by:
- simpleContent in interface ParticleVisitor
- Overrides:
- simpleContent in interface ParticleVisitorImpl
public void startComplexContent(ComplexTypeSG pType) throws SAXException
Invoked to start a complex content types content.
- Specified by:
- startComplexContent in interface ParticleVisitor
- Overrides:
- startComplexContent in interface ParticleVisitorImpl