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

All Known Implementing Classes:
DriverSGImpl

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

public JavaSource getJavaSource()
Returns the class being created.


getType

public ComplexTypeSG getType()
Returns the type being serialized.


newGetAttributesMethod

public 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

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

Throws:
org.xml.sax.SAXException

newMarshalChildsMethod

public 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

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

Throws:
org.xml.sax.SAXException