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

Interface HandlerSG

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 org.apache.ws.jaxme.impl.JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes).

Method Details

generate

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

getJavaSource

public JavaSource getJavaSource()
Returns the class being generated.

newAddAttributeMethod

public JavaMethod newAddAttributeMethod()
            throws SAXException

newEndElementMethod

public JavaMethod newEndElementMethod()
            throws SAXException

newIsAtomicMethod

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

newIsEmptyMethod

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

newIsFinishedMethod

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

newStartElementMethod

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