org.apache.ws.jaxme.generator.sg.impl.ccsg
Class SimpleContentDriverSG

java.lang.Object
  extended byorg.apache.ws.jaxme.generator.sg.impl.ccsg.DriverSGImpl
      extended byorg.apache.ws.jaxme.generator.sg.impl.ccsg.EmptyElementDriverSG
          extended byorg.apache.ws.jaxme.generator.sg.impl.ccsg.SimpleContentDriverSG
All Implemented Interfaces:
DriverSG

public class SimpleContentDriverSG
extends EmptyElementDriverSG

Implementation of DriverSG for elements with simple content.


Field Summary
 
Fields inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.DriverSGImpl
ctSG
 
Constructor Summary
SimpleContentDriverSG(ComplexTypeSG pType, JavaSource pJs)
          Creates a new instance, generating methods for serialization of the given type into the given source file.
 
Method Summary
 JavaMethod newMarshalChildsMethod()
          Generates the method JMSAXDriver.marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController, org.xml.sax.ContentHandler, Object).
 
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.DriverSGImpl
generate, getJavaSource, getNames, 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
 

Constructor Detail

SimpleContentDriverSG

public SimpleContentDriverSG(ComplexTypeSG pType,
                             JavaSource pJs)
Creates a new instance, generating methods for serialization of the given type into the given source file.

Method Detail

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