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

java.lang.Object
  extended by org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl
      extended by org.apache.ws.jaxme.generator.sg.impl.ccsg.EmptyElementHandlerSG
All Implemented Interfaces:
HandlerSG
Direct Known Subclasses:
SimpleContentHandlerSG

public class EmptyElementHandlerSG
extends HandlerSGImpl

Creates an instance of JMSAXElementParser, which parses an empty element, aka empty group.


Field Summary
 
Fields inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl
ctSG
 
Constructor Summary
EmptyElementHandlerSG(ComplexTypeSG pType, JavaSource pJs)
          Creates a new instance, which generates a handler for the given complex type.
 
Method Summary
 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).
 
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl
createSimpleTypeConversion, generate, getJavaSource, getParamAttrs, getParamLocalName, getParamNamespaceURI, getParamQName, getParamResult, newAddAttributeMethod, newEndElementMethod, setParamAttrs, setParamLocalName, setParamNamespaceURI, setParamQName, setParamResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyElementHandlerSG

public EmptyElementHandlerSG(ComplexTypeSG pType,
                             JavaSource pJs)
Creates a new instance, which generates a handler for the given complex type.

Method Detail

newStartElementMethod

public JavaMethod newStartElementMethod()
                                 throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXGroupParser.startElement(String, String, String, org.xml.sax.Attributes).

Specified by:
newStartElementMethod in interface HandlerSG
Overrides:
newStartElementMethod in class HandlerSGImpl
Throws:
org.xml.sax.SAXException

newIsFinishedMethod

public JavaMethod newIsFinishedMethod()
                               throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXGroupParser.isFinished().

Specified by:
newIsFinishedMethod in interface HandlerSG
Overrides:
newIsFinishedMethod in class HandlerSGImpl
Throws:
org.xml.sax.SAXException

newIsEmptyMethod

public JavaMethod newIsEmptyMethod()
                            throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXElementParser.isEmpty().

Specified by:
newIsEmptyMethod in interface HandlerSG
Overrides:
newIsEmptyMethod in class HandlerSGImpl
Throws:
org.xml.sax.SAXException

newIsAtomicMethod

public JavaMethod newIsAtomicMethod()
                             throws org.xml.sax.SAXException
Description copied from interface: HandlerSG
Creates the handlers method JMSAXElementParser.isAtomic().

Specified by:
newIsAtomicMethod in interface HandlerSG
Overrides:
newIsAtomicMethod in class HandlerSGImpl
Throws:
org.xml.sax.SAXException