org.apache.ws.jaxme.generator.sg.impl.ccsg
Class GroupDriverSG
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.ccsg.DriverSGImpl
org.apache.ws.jaxme.generator.sg.impl.ccsg.GroupDriverSG
- All Implemented Interfaces:
- DriverSG
- Direct Known Subclasses:
- AllDriverSG, ChoiceDriverSG, SequenceDriverSG
- public abstract class GroupDriverSG
- extends DriverSGImpl
Base implementation of DriverSG
for groups.
Fields inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.DriverSGImpl |
ctSG |
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.DriverSGImpl |
generate, getJavaSource, getParamController, getParamElement, getParamHandler, getType, newGetAttributesMethod, newGetPreferredPrefixMethod, setParamController, setParamElement, setParamHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ccSG
protected final ComplexContentSG ccSG
group
protected final GroupSG group
particles
protected final ParticleSG[] particles
outerGroup
protected final JavaSource outerGroup
GroupDriverSG
protected GroupDriverSG(ComplexTypeSG pType,
JavaSource pJs)
throws org.xml.sax.SAXException
- Creates a new instance, generating methods for serialization
of the given type into the given source file.
GroupDriverSG
protected GroupDriverSG(ComplexTypeSG pType,
GroupSG pGroup,
JavaSource pOuterGroup,
JavaInnerClass pJs)
throws org.xml.sax.SAXException
- Creates a new instance, generating methods for serialization
of the given type into the given source file.
getOuterGroup
protected JavaSource getOuterGroup()
addNames
protected void addNames(java.util.List pNames,
GroupSG pGroup)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getNames
protected java.util.List getNames()
throws org.xml.sax.SAXException
- Description copied from class:
DriverSGImpl
- This method builds a list of the names, which are being
used in the element. The list is used for generating the
method
JMSAXDriver.getPreferredPrefix(String)
.
- Overrides:
getNames
in class DriverSGImpl
- Throws:
org.xml.sax.SAXException
newMarshalChildsMethod
public JavaMethod newMarshalChildsMethod()
throws org.xml.sax.SAXException
- Description copied from interface:
DriverSG
- Generates the method
JMSAXDriver.marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController, org.xml.sax.ContentHandler, Object)
.
- Specified by:
newMarshalChildsMethod
in interface DriverSG
- Overrides:
newMarshalChildsMethod
in class DriverSGImpl
- Throws:
org.xml.sax.SAXException