public abstract class GroupHandlerSG extends HandlerSGImpl
GroupHandlerSG is
responsible for creating an instance of
JMSAXGroupParser,
or JMSAXElementParser.ComplexContentSG
creates a GroupHandlerSG for any group,
contained in the element.| Modifier and Type | Field and Description |
|---|---|
protected ComplexContentSG |
ccSG |
protected GroupSG |
group |
protected GroupHandlerSG |
outerHandler |
protected ParticleSG |
particle |
protected ParticleSG[] |
particles |
ctSG| Modifier | Constructor and Description |
|---|---|
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. |
createSimpleTypeConversion, getJavaSource, getParamAttrs, getParamLocalName, getParamNamespaceURI, getParamQName, getParamResult, newStartElementMethod, setParamAttrs, setParamLocalName, setParamNamespaceURI, setParamQName, setParamResultprotected final ComplexContentSG ccSG
protected final ParticleSG particle
protected final GroupSG group
protected final ParticleSG[] particles
protected final GroupHandlerSG outerHandler
protected GroupHandlerSG(ComplexTypeSG pType, JavaSource pJs) throws org.xml.sax.SAXException
pTypeSG by adding methods
and fields to the Java class pJs.org.xml.sax.SAXExceptionprotected GroupHandlerSG(GroupHandlerSG pOuterHandler, ComplexTypeSG pType, ParticleSG pParticle, JavaSource pJs) throws org.xml.sax.SAXException
pGroupSG by adding methods and
fields to the Java class pJs.org.xml.sax.SAXExceptionprotected abstract JavaField newStateField() throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected JavaField getStateField() throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected GroupHandlerSG getGroupHandlerSG(GroupSG pGroup)
public JavaMethod newAddAttributeMethod() throws org.xml.sax.SAXException
HandlerSGJMSAXElementParser.addAttribute(String, String, String).newAddAttributeMethod in interface HandlerSGnewAddAttributeMethod in class HandlerSGImplorg.xml.sax.SAXExceptionprotected boolean isRequiredParticle(ParticleSG particleSG) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void handleStartOfChildElement(java.lang.Object pUnmarshallerHandler,
JavaMethod pJm,
ParticleSG pParticle)
protected abstract void acceptParticle(JavaMethod pJm, int pNum) throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected void handleStartElementStates(java.lang.Object pUnmarshallerHandler,
JavaMethod pJm,
int pFrom,
int pTo)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected abstract int getState(int pParticleNum)
protected abstract DirectAccessible getEndElementState() throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic JavaMethod newEndElementMethod() throws org.xml.sax.SAXException
HandlerSGJMSAXGroupParser.endElement(String, String, String, Object).newEndElementMethod in interface HandlerSGnewEndElementMethod in class HandlerSGImplorg.xml.sax.SAXExceptionpublic JavaMethod newIsFinishedMethod() throws org.xml.sax.SAXException
HandlerSGJMSAXGroupParser.isFinished().newIsFinishedMethod in interface HandlerSGnewIsFinishedMethod in class HandlerSGImplorg.xml.sax.SAXExceptionpublic JavaMethod newIsAtomicMethod() throws org.xml.sax.SAXException
HandlerSGJMSAXElementParser.isAtomic().newIsAtomicMethod in interface HandlerSGnewIsAtomicMethod in class HandlerSGImplorg.xml.sax.SAXExceptionpublic JavaMethod newIsEmptyMethod() throws org.xml.sax.SAXException
HandlerSGJMSAXElementParser.isEmpty().newIsEmptyMethod in interface HandlerSGnewIsEmptyMethod in class HandlerSGImplorg.xml.sax.SAXExceptionprotected JavaMethod newIsMixedMethod() throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionprotected JavaMethod newAddTextMethod() throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic void generate()
throws org.xml.sax.SAXException
HandlerSGgenerate in interface HandlerSGgenerate in class HandlerSGImplorg.xml.sax.SAXException