org.apache.ws.jaxme.generator.sg.impl.ccsg
Interface DriverSG

All Known Implementing Classes:
AllDriverSG, ChoiceDriverSG, DriverSGImpl, EmptyElementDriverSG, GroupDriverSG, SequenceDriverSG, SimpleContentDriverSG

public interface DriverSG

Interface of an object, which generates instances of org.apache.ws.jaxme.JMXmlSerializer.


Method Summary
 void generate()
          Invokes the various newFooMethod methods.
 JavaSource getJavaSource()
          Returns the class being created.
 ComplexTypeSG getType()
          Returns the type being serialized.
 JavaMethod newGetAttributesMethod()
          Generates the method JMSAXDriver.getAttributes(org.apache.ws.jaxme.impl.JMSAXDriverController, Object).
 JavaMethod newGetPreferredPrefixMethod()
          Generates the method JMSAXDriver.getPreferredPrefix(String).
 JavaMethod newMarshalChildsMethod()
          Generates the method JMSAXDriver.marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController, org.xml.sax.ContentHandler, Object).
 

Method Detail

getJavaSource

JavaSource getJavaSource()
Returns the class being created.


getType

ComplexTypeSG getType()
Returns the type being serialized.


newGetAttributesMethod

JavaMethod newGetAttributesMethod()
                                  throws org.xml.sax.SAXException
Generates the method JMSAXDriver.getAttributes(org.apache.ws.jaxme.impl.JMSAXDriverController, Object).

Throws:
org.xml.sax.SAXException

newGetPreferredPrefixMethod

JavaMethod newGetPreferredPrefixMethod()
                                       throws org.xml.sax.SAXException
Generates the method JMSAXDriver.getPreferredPrefix(String).

Throws:
org.xml.sax.SAXException

newMarshalChildsMethod

JavaMethod newMarshalChildsMethod()
                                  throws org.xml.sax.SAXException
Generates the method JMSAXDriver.marshalChilds(org.apache.ws.jaxme.impl.JMSAXDriverController, org.xml.sax.ContentHandler, Object).

Throws:
org.xml.sax.SAXException

generate

void generate()
              throws org.xml.sax.SAXException
Invokes the various newFooMethod methods.

Throws:
org.xml.sax.SAXException