public class BeanGeneratingVisitor extends ParticleVisitorImpl
ParticleVisitor,
which generates a bean class.| Constructor and Description |
|---|
BeanGeneratingVisitor(JavaSource pJs)
Creates a new instance generating 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 JavaMethod |
getGetMixedContentMethod() |
void |
simpleContent(ComplexTypeSG pType)
Invoked for a complex type with simple content.
|
void |
simpleElementParticle(GroupSG pGroup,
ParticleSG pParticle)
Invoked to process an element with simple type.
|
void |
startComplexContent(ComplexTypeSG pType)
Invoked to start a complex content types
content.
|
void |
wildcardParticle(ParticleSG particle)
Invoked to process a wildcard particle.
|
endAll, endChoice, endComplexContent, endSequence, startAll, startChoice, startSequencepublic BeanGeneratingVisitor(JavaSource pJs)
pJs - Bean class being generated.public 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.protected JavaMethod getGetMixedContentMethod()
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 simpleElementParticle(GroupSG pGroup, ParticleSG pParticle) throws org.xml.sax.SAXException
ParticleVisitorsimpleElementParticle in interface ParticleVisitorsimpleElementParticle 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.public void wildcardParticle(ParticleSG particle)
ParticleVisitorwildcardParticle in interface ParticleVisitorwildcardParticle in class ParticleVisitorImpl