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

Class SequenceHandlerSG

public class SequenceHandlerSG extends GroupHandlerSG

Creates an instance of JMSAXElementParser, or JMSAXGroupParser, which parses a sequence.
Constructor Summary
SequenceHandlerSG(ComplexTypeSG pTypeSG, 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 pNum)
JavaMethodnewIsFinishedMethod()
JavaMethodnewStartElementMethod()
protected JavaFieldnewStateField()

Constructor Detail

SequenceHandlerSG

public SequenceHandlerSG(ComplexTypeSG pTypeSG, 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 pNum)

newIsFinishedMethod

public JavaMethod newIsFinishedMethod()

newStartElementMethod

public JavaMethod newStartElementMethod()

newStateField

protected JavaField newStateField()