org.apache.ws.jaxme.generator.sg.impl.ccsg
Class SequenceHandlerSG
java.lang.Object
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.SequenceHandlerSG
- All Implemented Interfaces:
- HandlerSG
public class SequenceHandlerSG
- extends GroupHandlerSG
Creates an instance of
JMSAXElementParser
,
or JMSAXGroupParser
,
which parses a sequence.
Fields inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl |
ctSG |
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 . |
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.GroupHandlerSG |
generate, getGroupHandlerSG, getStateField, handleStartElementStates, handleStartOfChildElement, isRequiredParticle, newAddAttributeMethod, newAddTextMethod, newEndElementMethod, newIsAtomicMethod, newIsEmptyMethod, newIsMixedMethod |
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 |
SequenceHandlerSG
public SequenceHandlerSG(ComplexTypeSG pTypeSG,
JavaSource pJs)
throws org.xml.sax.SAXException
- Creates a new instance, which generates a handler for
the complex type
pTypeSG
by adding methods
and fields to the Java class pJs
.
- Throws:
org.xml.sax.SAXException
getEndElementState
protected DirectAccessible getEndElementState()
throws org.xml.sax.SAXException
- Specified by:
getEndElementState
in class GroupHandlerSG
- Throws:
org.xml.sax.SAXException
getState
protected int getState(int pNum)
- Specified by:
getState
in class GroupHandlerSG
newStateField
protected JavaField newStateField()
throws org.xml.sax.SAXException
- Specified by:
newStateField
in class GroupHandlerSG
- Throws:
org.xml.sax.SAXException
acceptParticle
protected void acceptParticle(JavaMethod pJm,
int pNum)
throws org.xml.sax.SAXException
- Specified by:
acceptParticle
in 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:
newStartElementMethod
in interface HandlerSG
- Overrides:
newStartElementMethod
in class HandlerSGImpl
- 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:
newIsFinishedMethod
in interface HandlerSG
- Overrides:
newIsFinishedMethod
in class GroupHandlerSG
- Throws:
org.xml.sax.SAXException