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

All Known Implementing Classes:
HandlerSGImpl

public interface HandlerSG

Interface of an object, which generates instances of JMSAXElementParser, or JMSAXGroupParser.


Method Summary
 void generate()
          Invokes the various "newFooMethod" methods.
 JavaSource getJavaSource()
          Returns the class being generated.
 JavaMethod newAddAttributeMethod()
          Creates the handlers method JMSAXElementParser.addAttribute(String, String, String).
 JavaMethod newEndElementMethod()
          Creates the handlers method JMSAXGroupParser.endElement(String, String, String, Object).
 JavaMethod newIsAtomicMethod()
          Creates the handlers method JMSAXElementParser.isAtomic().
 JavaMethod newIsEmptyMethod()
          Creates the handlers method JMSAXElementParser.isEmpty().
 JavaMethod newIsFinishedMethod()
          Creates the handlers method JMSAXGroupParser.isFinished().
 JavaMethod newStartElementMethod()
          Creates the handlers method JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes).
 

Method Detail

getJavaSource

public JavaSource getJavaSource()
Returns the class being generated.


newAddAttributeMethod

public JavaMethod newAddAttributeMethod()
                                 throws org.xml.sax.SAXException
Creates the handlers method JMSAXElementParser.addAttribute(String, String, String).

Throws:
org.xml.sax.SAXException

newStartElementMethod

public JavaMethod newStartElementMethod()
                                 throws org.xml.sax.SAXException
Creates the handlers method JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes).

Throws:
org.xml.sax.SAXException

newEndElementMethod

public JavaMethod newEndElementMethod()
                               throws org.xml.sax.SAXException
Creates the handlers method JMSAXGroupParser.endElement(String, String, String, Object).

Throws:
org.xml.sax.SAXException

newIsFinishedMethod

public JavaMethod newIsFinishedMethod()
                               throws org.xml.sax.SAXException
Creates the handlers method JMSAXGroupParser.isFinished().

Throws:
org.xml.sax.SAXException

newIsEmptyMethod

public JavaMethod newIsEmptyMethod()
                            throws org.xml.sax.SAXException
Creates the handlers method JMSAXElementParser.isEmpty().

Throws:
org.xml.sax.SAXException

newIsAtomicMethod

public JavaMethod newIsAtomicMethod()
                             throws org.xml.sax.SAXException
Creates the handlers method JMSAXElementParser.isAtomic().

Throws:
org.xml.sax.SAXException

generate

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

Throws:
org.xml.sax.SAXException