org.apache.ws.jaxme.generator.sg.impl.ccsg
public abstract class GroupHandlerSG extends HandlerSGImpl
GroupHandlerSG is
responsible for creating an instance of
JMSAXGroupParser,
or JMSAXElementParser.GroupHandlerSG for any group,
contained in the element.
| Field Summary | |
|---|---|
| protected ComplexContentSG | ccSG |
| protected GroupSG | group |
| protected GroupHandlerSG | outerHandler |
| protected ParticleSG | particle |
| protected ParticleSG[] | particles |
| Constructor Summary | |
|---|---|
| protected | GroupHandlerSG(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. |
| protected | GroupHandlerSG(GroupHandlerSG pOuterHandler, ComplexTypeSG pType, ParticleSG pParticle, JavaSource pJs) Creates a new instance, which generates a handler for
the group pGroupSG by adding methods and
fields to the Java class pJs. |
| Method Summary | |
|---|---|
| protected abstract void | acceptParticle(JavaMethod pJm, int pNum) |
| void | generate() |
| protected abstract DirectAccessible | getEndElementState() |
| protected GroupHandlerSG | getGroupHandlerSG(GroupSG pGroup) |
| protected abstract int | getState(int pParticleNum) |
| protected JavaField | getStateField() |
| protected void | handleStartElementStates(Object pUnmarshallerHandler, JavaMethod pJm, int pFrom, int pTo) |
| protected void | handleStartOfChildElement(Object pUnmarshallerHandler, JavaMethod pJm, ParticleSG pParticle) |
| protected boolean | isRequiredParticle(ParticleSG particleSG) |
| JavaMethod | newAddAttributeMethod() |
| protected JavaMethod | newAddTextMethod() |
| JavaMethod | newEndElementMethod() |
| JavaMethod | newIsAtomicMethod() |
| JavaMethod | newIsEmptyMethod() |
| protected JavaMethod | newIsMixedMethod() |
| protected abstract JavaField | newStateField() |
pTypeSG by adding methods
and fields to the Java class pJs.pGroupSG by adding methods and
fields to the Java class pJs.