Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl
org.apache.ws.jaxme.generator.sg.impl.ccsg.GroupHandlerSG
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.
Field Summary | |
protected ComplexContentSG | |
protected GroupSG | |
protected GroupHandlerSG | |
protected ParticleSG | |
protected ParticleSG[] |
Fields inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl | |
ctSG |
Constructor Summary | |
| |
|
Method Summary | |
protected abstract void |
|
void |
|
protected abstract DirectAccessible | |
protected GroupHandlerSG |
|
protected abstract int |
|
protected JavaField | |
protected void |
|
protected void |
|
protected boolean |
|
JavaMethod |
|
protected JavaMethod | |
JavaMethod |
|
JavaMethod |
|
JavaMethod |
|
protected JavaMethod | |
protected abstract JavaField |
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl | |
createSimpleTypeConversion , generate , getJavaSource , getParamAttrs , getParamLocalName , getParamNamespaceURI , getParamQName , getParamResult , newAddAttributeMethod , newEndElementMethod , newIsAtomicMethod , newIsEmptyMethod , newIsFinishedMethod , newStartElementMethod , setParamAttrs , setParamLocalName , setParamNamespaceURI , setParamQName , setParamResult |
protected GroupHandlerSG(ComplexTypeSG pType, JavaSource pJs) throws SAXException
Creates a new instance, which generates a handler for the complex typepTypeSG
by adding methods and fields to the Java classpJs
.
protected GroupHandlerSG(GroupHandlerSG pOuterHandler, ComplexTypeSG pType, ParticleSG pParticle, JavaSource pJs) throws SAXException
Creates a new instance, which generates a handler for the grouppGroupSG
by adding methods and fields to the Java classpJs
.
public void generate() throws SAXException
Invokes the various "newFooMethod" methods.
- Overrides:
- generate in interface HandlerSGImpl
protected abstract int getState(int pParticleNum)
protected void handleStartElementStates(Object pUnmarshallerHandler, JavaMethod pJm, int pFrom, int pTo) throws SAXException
protected void handleStartOfChildElement(Object pUnmarshallerHandler, JavaMethod pJm, ParticleSG pParticle)
public JavaMethod newAddAttributeMethod() throws SAXException
Creates the handlers methodJMSAXElementParser.addAttribute(String,String,String)
.
- Specified by:
- newAddAttributeMethod in interface HandlerSG
- Overrides:
- newAddAttributeMethod in interface HandlerSGImpl
public JavaMethod newEndElementMethod() throws SAXException
Creates the handlers methodJMSAXGroupParser.endElement(String,String,String,Object)
.
- Specified by:
- newEndElementMethod in interface HandlerSG
- Overrides:
- newEndElementMethod in interface HandlerSGImpl
public JavaMethod newIsAtomicMethod() throws SAXException
Creates the handlers methodJMSAXElementParser.isAtomic()
.
- Specified by:
- newIsAtomicMethod in interface HandlerSG
- Overrides:
- newIsAtomicMethod in interface HandlerSGImpl
public JavaMethod newIsEmptyMethod() throws SAXException
Creates the handlers methodJMSAXElementParser.isEmpty()
.
- Specified by:
- newIsEmptyMethod in interface HandlerSG
- Overrides:
- newIsEmptyMethod in interface HandlerSGImpl