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

Class DriverGeneratingVisitor

public class DriverGeneratingVisitor extends ParticleVisitorImpl

Implementation of {@link org.apache.ws.jaxme.generator.sg.impl.ccsg.ParticleVisitor} for generating the driver class.
Constructor Summary
DriverGeneratingVisitor(JavaSource pJs)
Creates a new instance, which writes methods into the given class.
Method Summary
voidcomplexElementParticle(GroupSG pGroup, ParticleSG pParticle)
voidemptyType(ComplexTypeSG pType)
protected ListgetNames(ComplexTypeSG pType)
This method builds a list of the names, which are being used in the element.
voidsimpleContent(ComplexTypeSG pType)
voidstartComplexContent(ComplexTypeSG pType)

Constructor Detail

DriverGeneratingVisitor

public DriverGeneratingVisitor(JavaSource pJs)
Creates a new instance, which writes methods into the given class.

Method Detail

complexElementParticle

public void complexElementParticle(GroupSG pGroup, ParticleSG pParticle)

emptyType

public void emptyType(ComplexTypeSG pType)

getNames

protected List getNames(ComplexTypeSG pType)
This method builds a list of the names, which are being used in the element. The list is used for generating the method {@link org.apache.ws.jaxme.impl.JMSAXDriver#getPreferredPrefix(String)}.

Throws: SAXException

simpleContent

public void simpleContent(ComplexTypeSG pType)

startComplexContent

public void startComplexContent(ComplexTypeSG pType)