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, setParamResult
protected 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.SAXException
protected 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.SAXException
protected abstract JavaField newStateField() throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected JavaField getStateField() throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected GroupHandlerSG getGroupHandlerSG(GroupSG pGroup)
public JavaMethod newAddAttributeMethod() throws org.xml.sax.SAXException
HandlerSG
JMSAXElementParser.addAttribute(String, String, String)
.newAddAttributeMethod
in interface HandlerSG
newAddAttributeMethod
in class HandlerSGImpl
org.xml.sax.SAXException
protected boolean isRequiredParticle(ParticleSG particleSG) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected 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.SAXException
protected void handleStartElementStates(java.lang.Object pUnmarshallerHandler, JavaMethod pJm, int pFrom, int pTo) throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected abstract int getState(int pParticleNum)
protected abstract DirectAccessible getEndElementState() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public JavaMethod newEndElementMethod() throws org.xml.sax.SAXException
HandlerSG
JMSAXGroupParser.endElement(String, String, String, Object)
.newEndElementMethod
in interface HandlerSG
newEndElementMethod
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 HandlerSGImpl
org.xml.sax.SAXException
public JavaMethod newIsAtomicMethod() throws org.xml.sax.SAXException
HandlerSG
JMSAXElementParser.isAtomic()
.newIsAtomicMethod
in interface HandlerSG
newIsAtomicMethod
in class HandlerSGImpl
org.xml.sax.SAXException
public JavaMethod newIsEmptyMethod() throws org.xml.sax.SAXException
HandlerSG
JMSAXElementParser.isEmpty()
.newIsEmptyMethod
in interface HandlerSG
newIsEmptyMethod
in class HandlerSGImpl
org.xml.sax.SAXException
protected JavaMethod newIsMixedMethod() throws org.xml.sax.SAXException
org.xml.sax.SAXException
protected JavaMethod newAddTextMethod() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void generate() throws org.xml.sax.SAXException
HandlerSG
generate
in interface HandlerSG
generate
in class HandlerSGImpl
org.xml.sax.SAXException