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

Class HandlerSGImpl

Implemented Interfaces:
HandlerSG
Known Direct Subclasses:
EmptyElementHandlerSG, GroupHandlerSG

public abstract class HandlerSGImpl
extends java.lang.Object
implements HandlerSG

Base implementation of HandlerSG, for derivation of various subclasses.

Field Summary

protected ComplexTypeSG
ctSG

Constructor Summary

HandlerSGImpl(ComplexTypeSG pType, JavaSource pJs)

Method Summary

protected void
createSimpleTypeConversion(JavaMethod pJm, TypeSG pType, TypedValue pValue, String pName, PropertySG pPropertySG, DirectAccessible pElement)
void
generate()
JavaSource
getJavaSource()
Returns the class being generated.
protected DirectAccessible
getParamAttrs()
protected DirectAccessible
getParamLocalName()
protected DirectAccessible
getParamNamespaceURI()
protected DirectAccessible
getParamQName()
protected DirectAccessible
getParamResult()
JavaMethod
newAddAttributeMethod()
JavaMethod
newEndElementMethod()
JavaMethod
newIsAtomicMethod()
JavaMethod
newIsEmptyMethod()
JavaMethod
newIsFinishedMethod()
JavaMethod
newStartElementMethod()
protected void
setParamAttrs(DirectAccessible pParamAttrs)
protected void
setParamLocalName(DirectAccessible pParamLocalName)
protected void
setParamNamespaceURI(DirectAccessible pParamNamespaceURI)
protected void
setParamQName(DirectAccessible pParamQName)
protected void
setParamResult(DirectAccessible pParamResult)

Field Details

ctSG

protected final ComplexTypeSG ctSG

Constructor Details

HandlerSGImpl

protected HandlerSGImpl(ComplexTypeSG pType,
                        JavaSource pJs)

Method Details

createSimpleTypeConversion

protected void createSimpleTypeConversion(JavaMethod pJm,
                                          TypeSG pType,
                                          TypedValue pValue,
                                          String pName,
                                          PropertySG pPropertySG,
                                          DirectAccessible pElement)
            throws SAXException

generate

public void generate()
            throws SAXException
Specified by:
generate in interface HandlerSG

getJavaSource

public JavaSource getJavaSource()
Returns the class being generated.
Specified by:
getJavaSource in interface HandlerSG

getParamAttrs

protected DirectAccessible getParamAttrs()

getParamLocalName

protected DirectAccessible getParamLocalName()

getParamNamespaceURI

protected DirectAccessible getParamNamespaceURI()

getParamQName

protected DirectAccessible getParamQName()

getParamResult

protected DirectAccessible getParamResult()

newAddAttributeMethod

public JavaMethod newAddAttributeMethod()
            throws SAXException
Specified by:
newAddAttributeMethod in interface HandlerSG

newEndElementMethod

public JavaMethod newEndElementMethod()
            throws SAXException
Specified by:
newEndElementMethod in interface HandlerSG

newIsAtomicMethod

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

newIsEmptyMethod

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

newIsFinishedMethod

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

newStartElementMethod

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

setParamAttrs

protected void setParamAttrs(DirectAccessible pParamAttrs)

setParamLocalName

protected void setParamLocalName(DirectAccessible pParamLocalName)

setParamNamespaceURI

protected void setParamNamespaceURI(DirectAccessible pParamNamespaceURI)

setParamQName

protected void setParamQName(DirectAccessible pParamQName)

setParamResult

protected void setParamResult(DirectAccessible pParamResult)