public class DriverGeneratingVisitor extends ParticleVisitorImpl
ParticleVisitor
for generating the driver class.| Constructor and Description |
|---|
DriverGeneratingVisitor(JavaSource pJs)
Creates a new instance, which writes methods into the
given class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
complexElementParticle(GroupSG pGroup,
ParticleSG pParticle)
Invoked to process an element with complex type.
|
void |
emptyType(ComplexTypeSG pType)
Invoked for an empty type.
|
protected java.util.List |
getNames(ComplexTypeSG pType)
This method builds a list of the names, which are being
used in the element.
|
void |
simpleContent(ComplexTypeSG pType)
Invoked for a complex type with simple content.
|
void |
startComplexContent(ComplexTypeSG pType)
Invoked to start a complex content types
content.
|
endAll, endChoice, endComplexContent, endSequence, simpleElementParticle, startAll, startChoice, startSequence, wildcardParticlepublic DriverGeneratingVisitor(JavaSource pJs)
protected java.util.List getNames(ComplexTypeSG pType) throws org.xml.sax.SAXException
JMSAXDriver.getPreferredPrefix(String).org.xml.sax.SAXExceptionpublic void emptyType(ComplexTypeSG pType) throws org.xml.sax.SAXException
ParticleVisitoremptyType in interface ParticleVisitoremptyType in class ParticleVisitorImplorg.xml.sax.SAXException - The visitor failed.public void simpleContent(ComplexTypeSG pType) throws org.xml.sax.SAXException
ParticleVisitorsimpleContent in interface ParticleVisitorsimpleContent in class ParticleVisitorImplorg.xml.sax.SAXException - The visitor failed.public void startComplexContent(ComplexTypeSG pType) throws org.xml.sax.SAXException
ParticleVisitorstartComplexContent in interface ParticleVisitorstartComplexContent in class ParticleVisitorImplorg.xml.sax.SAXException - The visitor failed.public void complexElementParticle(GroupSG pGroup, ParticleSG pParticle) throws org.xml.sax.SAXException
ParticleVisitorcomplexElementParticle in interface ParticleVisitorcomplexElementParticle in class ParticleVisitorImplorg.xml.sax.SAXException - The visitor failed.