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

Class ChoiceHandlerSG

public class ChoiceHandlerSG extends GroupHandlerSG

Creates an instance of JMSAXElementParser, or JMSAXGroupParser, which parses a choice group.
Constructor Summary
ChoiceHandlerSG(ComplexTypeSG pType, JavaSource pJs)
Creates a new instance, which generates a handler for the complex type pTypeSG by adding methods and fields to the Java class pJs.
Method Summary
protected voidacceptParticle(JavaMethod pJm, int pNum)
protected DirectAccessiblegetEndElementState()
protected intgetState(int pParticleNum)
JavaMethodnewIsFinishedMethod()
JavaMethodnewStartElementMethod()
protected JavaFieldnewStateField()

Constructor Detail

ChoiceHandlerSG

public ChoiceHandlerSG(ComplexTypeSG pType, JavaSource pJs)
Creates a new instance, which generates a handler for the complex type pTypeSG by adding methods and fields to the Java class pJs.

Method Detail

acceptParticle

protected void acceptParticle(JavaMethod pJm, int pNum)

getEndElementState

protected DirectAccessible getEndElementState()

getState

protected int getState(int pParticleNum)

newIsFinishedMethod

public JavaMethod newIsFinishedMethod()

newStartElementMethod

public JavaMethod newStartElementMethod()

newStateField

protected JavaField newStateField()