org.apache.ws.jaxme.generator.sg.impl.ccsg
Class ChoiceHandlerSG
java.lang.Object
   org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl
org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl
       org.apache.ws.jaxme.generator.sg.impl.ccsg.GroupHandlerSG
org.apache.ws.jaxme.generator.sg.impl.ccsg.GroupHandlerSG
           org.apache.ws.jaxme.generator.sg.impl.ccsg.ChoiceHandlerSG
org.apache.ws.jaxme.generator.sg.impl.ccsg.ChoiceHandlerSG
- All Implemented Interfaces: 
- HandlerSG
- public class ChoiceHandlerSG- extends GroupHandlerSG
Creates an instance of
 JMSAXElementParser,
 or JMSAXGroupParser,
 which parses a choice group.
 
 
| Fields inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl | 
| ctSG | 
 
| Constructor Summary | 
| ChoiceHandlerSG(ComplexTypeSG pType,
                JavaSource pJs)Creates a new instance, which generates a handler for
 the complex type
 pTypeSGby adding methods
 and fields to the Java classpJs. | 
 
 
 
| Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl | 
| createSimpleTypeConversion, getJavaSource, getParamAttrs, getParamLocalName, getParamNamespaceURI, getParamQName, getParamResult, setParamAttrs, setParamLocalName, setParamNamespaceURI, setParamQName, setParamResult | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ChoiceHandlerSG
public ChoiceHandlerSG(ComplexTypeSG pType,
                       JavaSource pJs)
                throws org.xml.sax.SAXException
- Creates a new instance, which generates a handler for
 the complex type pTypeSGby adding methods
 and fields to the Java classpJs.
 
getState
protected int getState(int pParticleNum)
- 
- Specified by:
- getStatein class- GroupHandlerSG
 
- 
 
acceptParticle
protected void acceptParticle(JavaMethod pJm,
                              int pNum)
                       throws org.xml.sax.SAXException
- 
- Specified by:
- acceptParticlein class- GroupHandlerSG
 
- 
- Throws:
- org.xml.sax.SAXException
 
newStartElementMethod
public JavaMethod newStartElementMethod()
                                 throws org.xml.sax.SAXException
- Description copied from interface: HandlerSG
- Creates the handlers method
 JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes).
 
- 
- Specified by:
- newStartElementMethodin interface- HandlerSG
- Overrides:
- newStartElementMethodin class- HandlerSGImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
getEndElementState
protected DirectAccessible getEndElementState()
                                       throws org.xml.sax.SAXException
- 
- Specified by:
- getEndElementStatein class- GroupHandlerSG
 
- 
- Throws:
- org.xml.sax.SAXException
 
newIsFinishedMethod
public JavaMethod newIsFinishedMethod()
                               throws org.xml.sax.SAXException
- Description copied from interface: HandlerSG
- Creates the handlers method
 JMSAXGroupParser.isFinished().
 
- 
- Specified by:
- newIsFinishedMethodin interface- HandlerSG
- Overrides:
- newIsFinishedMethodin class- HandlerSGImpl
 
- 
- Throws:
- org.xml.sax.SAXException
 
newStateField
protected JavaField newStateField()
                           throws org.xml.sax.SAXException
- 
- Specified by:
- newStateFieldin class- GroupHandlerSG
 
- 
- Throws:
- org.xml.sax.SAXException