public class AllHandlerSG extends GroupHandlerSG
JMSAXElementParser
,
or JMSAXGroupParser
,
which parses an "all" group.ccSG, group, outerHandler, particle, particles
ctSG
Constructor and Description |
---|
AllHandlerSG(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 . |
Modifier and Type | Method and Description |
---|---|
protected void |
acceptParticle(JavaMethod pJm,
int pNum) |
protected DirectAccessible |
getEndElementState() |
protected int |
getState(int pParticleNum) |
JavaMethod |
newIsFinishedMethod()
Creates the handlers method
JMSAXGroupParser.isFinished() . |
JavaMethod |
newStartElementMethod()
Creates the handlers method
JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes) . |
protected JavaField |
newStateField() |
generate, getGroupHandlerSG, getStateField, handleStartElementStates, handleStartOfChildElement, isRequiredParticle, newAddAttributeMethod, newAddTextMethod, newEndElementMethod, newIsAtomicMethod, newIsEmptyMethod, newIsMixedMethod
createSimpleTypeConversion, getJavaSource, getParamAttrs, getParamLocalName, getParamNamespaceURI, getParamQName, getParamResult, setParamAttrs, setParamLocalName, setParamNamespaceURI, setParamQName, setParamResult
public AllHandlerSG(ComplexTypeSG pType, JavaSource pJs) throws org.xml.sax.SAXException
pTypeSG
by adding methods
and fields to the Java class pJs
.org.xml.sax.SAXException
protected int getState(int pParticleNum)
getState
in class GroupHandlerSG
protected DirectAccessible getEndElementState() throws org.xml.sax.SAXException
getEndElementState
in class GroupHandlerSG
org.xml.sax.SAXException
protected void acceptParticle(JavaMethod pJm, int pNum) throws org.xml.sax.SAXException
acceptParticle
in class GroupHandlerSG
org.xml.sax.SAXException
public JavaMethod newStartElementMethod() throws org.xml.sax.SAXException
HandlerSG
JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes)
.newStartElementMethod
in interface HandlerSG
newStartElementMethod
in class HandlerSGImpl
org.xml.sax.SAXException
public JavaMethod newIsFinishedMethod() throws org.xml.sax.SAXException
HandlerSG
JMSAXGroupParser.isFinished()
.newIsFinishedMethod
in interface HandlerSG
newIsFinishedMethod
in class GroupHandlerSG
org.xml.sax.SAXException
protected JavaField newStateField() throws org.xml.sax.SAXException
newStateField
in class GroupHandlerSG
org.xml.sax.SAXException