|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.generator.sg.impl.ccsg.ParticleVisitorImpl org.apache.ws.jaxme.generator.sg.impl.ccsg.DriverGeneratingVisitor
public class DriverGeneratingVisitor
Implementation of
ParticleVisitor
for generating the driver class.
Constructor Summary | |
---|---|
DriverGeneratingVisitor(JavaSource pJs)
Creates a new instance, which writes methods into the given class. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.ParticleVisitorImpl |
---|
endAll, endChoice, endComplexContent, endSequence, simpleElementParticle, startAll, startChoice, startSequence, wildcardParticle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DriverGeneratingVisitor(JavaSource pJs)
Method Detail |
---|
protected java.util.List getNames(ComplexTypeSG pType) throws org.xml.sax.SAXException
JMSAXDriver.getPreferredPrefix(String)
.
org.xml.sax.SAXException
public void emptyType(ComplexTypeSG pType) throws org.xml.sax.SAXException
ParticleVisitor
emptyType
in interface ParticleVisitor
emptyType
in class ParticleVisitorImpl
org.xml.sax.SAXException
- The visitor failed.public void simpleContent(ComplexTypeSG pType) throws org.xml.sax.SAXException
ParticleVisitor
simpleContent
in interface ParticleVisitor
simpleContent
in class ParticleVisitorImpl
org.xml.sax.SAXException
- The visitor failed.public void startComplexContent(ComplexTypeSG pType) throws org.xml.sax.SAXException
ParticleVisitor
startComplexContent
in interface ParticleVisitor
startComplexContent
in class ParticleVisitorImpl
org.xml.sax.SAXException
- The visitor failed.public void complexElementParticle(GroupSG pGroup, ParticleSG pParticle) throws org.xml.sax.SAXException
ParticleVisitor
complexElementParticle
in interface ParticleVisitor
complexElementParticle
in class ParticleVisitorImpl
org.xml.sax.SAXException
- The visitor failed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |