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

All Known Implementing Classes:
AllHandlerSG, ChoiceHandlerSG, EmptyElementHandlerSG, GroupHandlerSG, HandlerSGImpl, SequenceHandlerSG, SimpleContentHandlerSG

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

JavaSource getJavaSource()
Returns the class being generated.


newAddAttributeMethod

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

Throws:
org.xml.sax.SAXException

newStartElementMethod

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

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

Throws:
org.xml.sax.SAXException

newIsFinishedMethod

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

Throws:
org.xml.sax.SAXException

newIsEmptyMethod

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

Throws:
org.xml.sax.SAXException

newIsAtomicMethod

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

Throws:
org.xml.sax.SAXException

generate

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

Throws:
org.xml.sax.SAXException