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

Class EmptyElementHandlerSG

Implemented Interfaces:
HandlerSG
Known Direct 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()
JavaMethod
newIsEmptyMethod()
JavaMethod
newIsFinishedMethod()
JavaMethod
newStartElementMethod()

Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.ccsg.HandlerSGImpl

createSimpleTypeConversion, generate, getJavaSource, getParamAttrs, getParamLocalName, getParamNamespaceURI, getParamQName, getParamResult, newAddAttributeMethod, newEndElementMethod, newIsAtomicMethod, newIsEmptyMethod, newIsFinishedMethod, newStartElementMethod, setParamAttrs, setParamLocalName, setParamNamespaceURI, setParamQName, setParamResult

Constructor Details

EmptyElementHandlerSG

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

Method Details

newIsAtomicMethod

public JavaMethod newIsAtomicMethod()
            throws SAXException
Specified by:
newIsAtomicMethod in interface HandlerSG
Overrides:
newIsAtomicMethod in interface HandlerSGImpl

newIsEmptyMethod

public JavaMethod newIsEmptyMethod()
            throws SAXException
Specified by:
newIsEmptyMethod in interface HandlerSG
Overrides:
newIsEmptyMethod in interface HandlerSGImpl

newIsFinishedMethod

public JavaMethod newIsFinishedMethod()
            throws SAXException
Specified by:
newIsFinishedMethod in interface HandlerSG
Overrides:
newIsFinishedMethod in interface HandlerSGImpl

newStartElementMethod

public JavaMethod newStartElementMethod()
            throws SAXException
Specified by:
newStartElementMethod in interface HandlerSG
Overrides:
newStartElementMethod in interface HandlerSGImpl