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

Class JAXBComplexTypeSG

Implemented Interfaces:
ComplexTypeSGChain

public class JAXBComplexTypeSG
extends java.lang.Object
implements ComplexTypeSGChain

Authors:
Jochen Wiedmann
Ias

Constructor Summary

JAXBComplexTypeSG(TypeSG pTypeSG, XSType pType)
JAXBComplexTypeSG(TypeSG pTypeSG, XSType pType, Context pContext)
Constructor for a local type, which is embedded into the enclosing pContext.

Method Summary

void
addAttributeSG(ComplexTypeSG pController, AttributeSG pAttribute)
AttributeSG[]
getAttributes(ComplexTypeSG pController)
Context
getClassContext(ComplexTypeSG pController)
ComplexContentSG
getComplexContentSG(ComplexTypeSG pController)
Locator
getLocator(ComplexTypeSG pController)
SimpleContentSG
getSimpleContentSG(ComplexTypeSG pController)
TypeSG
getTypeSG(ComplexTypeSG pController)
JavaSource
getXMLHandler(ComplexTypeSG pController, JavaQName pQName)
JavaSource
getXMLHandler(ComplexTypeSG pController, JavaSource pSource)
JavaSource
getXMLImplementation(ComplexTypeSG pController)
JavaSource
getXMLImplementation(ComplexTypeSG pController, JavaSource pSource)
JavaSource
getXMLInterface(ComplexTypeSG pController)
JavaSource
getXMLInterface(ComplexTypeSG pController, JavaSource pSource)
JavaSource
getXMLSerializer(ComplexTypeSG pController)
JavaSource
getXMLSerializer(ComplexTypeSG pController, JavaSource pSource)
boolean
hasAttributes(ComplexTypeSG pController)
boolean
hasSimpleContent(ComplexTypeSG pController)
void
init(ComplexTypeSG pController)
Object
newAttributeSG(ComplexTypeSG pController, XSAttribute pAttribute)
Object
newAttributeSG(ComplexTypeSG pController, XSWildcard pWildcard)
Object
newComplexContentTypeSG(ComplexTypeSG pController)
Object
newSimpleContentTypeSG(ComplexTypeSG pController)

Constructor Details

JAXBComplexTypeSG

protected JAXBComplexTypeSG(TypeSG pTypeSG,
                            XSType pType)
            throws SAXException

JAXBComplexTypeSG

protected JAXBComplexTypeSG(TypeSG pTypeSG,
                            XSType pType,
                            Context pContext)
            throws SAXException
Constructor for a local type, which is embedded into the enclosing pContext.

Method Details

addAttributeSG

public void addAttributeSG(ComplexTypeSG pController,
                           AttributeSG pAttribute)
            throws SAXException
Specified by:
addAttributeSG in interface ComplexTypeSGChain

getAttributes

public AttributeSG[] getAttributes(ComplexTypeSG pController)
Specified by:
getAttributes in interface ComplexTypeSGChain

getClassContext

public Context getClassContext(ComplexTypeSG pController)
Specified by:
getClassContext in interface ComplexTypeSGChain

getComplexContentSG

public ComplexContentSG getComplexContentSG(ComplexTypeSG pController)
Specified by:
getComplexContentSG in interface ComplexTypeSGChain

getLocator

public Locator getLocator(ComplexTypeSG pController)
Specified by:
getLocator in interface ComplexTypeSGChain

getSimpleContentSG

public SimpleContentSG getSimpleContentSG(ComplexTypeSG pController)
Specified by:
getSimpleContentSG in interface ComplexTypeSGChain

getTypeSG

public TypeSG getTypeSG(ComplexTypeSG pController)
Specified by:
getTypeSG in interface ComplexTypeSGChain

getXMLHandler

public JavaSource getXMLHandler(ComplexTypeSG pController,
                                JavaQName pQName)
            throws SAXException
Specified by:
getXMLHandler in interface ComplexTypeSGChain

getXMLHandler

public JavaSource getXMLHandler(ComplexTypeSG pController,
                                JavaSource pSource)
            throws SAXException
Specified by:
getXMLHandler in interface ComplexTypeSGChain

getXMLImplementation

public JavaSource getXMLImplementation(ComplexTypeSG pController)
            throws SAXException
Specified by:
getXMLImplementation in interface ComplexTypeSGChain

getXMLImplementation

public JavaSource getXMLImplementation(ComplexTypeSG pController,
                                       JavaSource pSource)
            throws SAXException
Specified by:
getXMLImplementation in interface ComplexTypeSGChain

getXMLInterface

public JavaSource getXMLInterface(ComplexTypeSG pController)
            throws SAXException
Specified by:
getXMLInterface in interface ComplexTypeSGChain

getXMLInterface

public JavaSource getXMLInterface(ComplexTypeSG pController,
                                  JavaSource pSource)
            throws SAXException
Specified by:
getXMLInterface in interface ComplexTypeSGChain

getXMLSerializer

public JavaSource getXMLSerializer(ComplexTypeSG pController)
            throws SAXException
Specified by:
getXMLSerializer in interface ComplexTypeSGChain

getXMLSerializer

public JavaSource getXMLSerializer(ComplexTypeSG pController,
                                   JavaSource pSource)
            throws SAXException
Specified by:
getXMLSerializer in interface ComplexTypeSGChain

hasAttributes

public boolean hasAttributes(ComplexTypeSG pController)
Specified by:
hasAttributes in interface ComplexTypeSGChain

hasSimpleContent

public boolean hasSimpleContent(ComplexTypeSG pController)
Specified by:
hasSimpleContent in interface ComplexTypeSGChain

init

public void init(ComplexTypeSG pController)
            throws SAXException
Specified by:
init in interface ComplexTypeSGChain

newAttributeSG

public Object newAttributeSG(ComplexTypeSG pController,
                             XSAttribute pAttribute)
            throws SAXException
Specified by:
newAttributeSG in interface ComplexTypeSGChain

newAttributeSG

public Object newAttributeSG(ComplexTypeSG pController,
                             XSWildcard pWildcard)
            throws SAXException
Specified by:
newAttributeSG in interface ComplexTypeSGChain

newComplexContentTypeSG

public Object newComplexContentTypeSG(ComplexTypeSG pController)
            throws SAXException
Specified by:
newComplexContentTypeSG in interface ComplexTypeSGChain

newSimpleContentTypeSG

public Object newSimpleContentTypeSG(ComplexTypeSG pController)
            throws SAXException
Specified by:
newSimpleContentTypeSG in interface ComplexTypeSGChain