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

Interface HandlerSG

public interface HandlerSG

Interface of an object, which generates instances of {@link org.apache.ws.jaxme.impl.JMSAXElementParser}, or {@link org.apache.ws.jaxme.impl.JMSAXGroupParser}.
Method Summary
voidgenerate()
Invokes the various "newFooMethod" methods.
JavaSourcegetJavaSource()
Returns the class being generated.
JavaMethodnewAddAttributeMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXElementParser#addAttribute(String, String, String)}.
JavaMethodnewEndElementMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXGroupParser#endElement(String, String, String, Object)}.
JavaMethodnewIsAtomicMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXElementParser#isAtomic()}.
JavaMethodnewIsEmptyMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXElementParser#isEmpty()}.
JavaMethodnewIsFinishedMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXGroupParser#isFinished()}.
JavaMethodnewStartElementMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXGroupParser#startElement(String, String, String, org.xml.sax.Attributes)}.

Method Detail

generate

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

getJavaSource

public JavaSource getJavaSource()
Returns the class being generated.

newAddAttributeMethod

public JavaMethod newAddAttributeMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXElementParser#addAttribute(String, String, String)}.

newEndElementMethod

public JavaMethod newEndElementMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXGroupParser#endElement(String, String, String, Object)}.

newIsAtomicMethod

public JavaMethod newIsAtomicMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXElementParser#isAtomic()}.

newIsEmptyMethod

public JavaMethod newIsEmptyMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXElementParser#isEmpty()}.

newIsFinishedMethod

public JavaMethod newIsFinishedMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXGroupParser#isFinished()}.

newStartElementMethod

public JavaMethod newStartElementMethod()
Creates the handlers method {@link org.apache.ws.jaxme.impl.JMSAXGroupParser#startElement(String, String, String, org.xml.sax.Attributes)}.