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

Class JAXBSGFactory

Implemented Interfaces:
SGFactoryChain
Known Direct Subclasses:
JaxMeSGFactory

public class JAXBSGFactory
extends java.lang.Object
implements SGFactoryChain

Author:
Jochen Wiedmann

Constructor Summary

JAXBSGFactory(Generator pGenerator)
Creates a new instance for the given Generator.

Method Summary

Generator
getGenerator(SGFactory pController)
GroupSG
getGroupSG(SGFactory pController, XSGroup pGroup)
GroupSG
getGroupSG(SGFactory pController, XSGroup pGroup, Context pClassContext)
GroupSG[]
getGroups(SGFactory pController)
ObjectSG
getObjectSG(SGFactory pController, XSAny pAny, Context pContext)
ObjectSG
getObjectSG(SGFactory pController, XSElement pElement)
ObjectSG
getObjectSG(SGFactory pController, XSElement pElement, Context pContext)
ObjectSG[]
getObjects(SGFactory pController)
SchemaSG
getSchemaSG(SGFactory pController)
SchemaSG
getSchemaSG(SGFactory pController, XSSchema pSchema)
TypeSG
getTypeSG(SGFactory pController, XSType pType, Context pClassContext, XsQName pName, JAXBProperty.BaseType pBaseType)
TypeSG
getTypeSG(SGFactory pController, XSType pType, JAXBProperty.BaseType pBaseType)
TypeSG
getTypeSG(SGFactory pController, XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType)
TypeSG[]
getTypes(SGFactory pController)
void
init(SGFactory pController)
Facet
newFacet(SGFactory pController, XSType pType, XSEnumeration[] pEnumerations)
GroupSG
newGroupSG(SGFactory pController, XSGroup pGroup)
GroupSG
newGroupSG(SGFactory pController, XSGroup pGroup, Context pClassContext)
Object
newObjectSG(SGFactory pController, XSAny pAny)
Object
newObjectSG(SGFactory pController, XSElement pElement)
Object
newObjectSG(SGFactory pController, XSElement pElement, Context pContext)
Object
newSchemaSG(SGFactory pController, XSSchema pSchema)
Object
newTypeSG(SGFactory pController, XSType pType, Context pClassContext, XsQName pName, JAXBProperty.BaseType pBaseType)
Object
newTypeSG(SGFactory pController, XSType pType, JAXBProperty.BaseType pBaseType)
Object
newTypeSG(SGFactory pController, XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType)
XSObjectFactory
newXSObjectFactory(SGFactory pController)
XSParser
newXSParser(SGFactory pController)
XsObjectFactory
newXsObjectFactory(SGFactory pController)

Constructor Details

JAXBSGFactory

public JAXBSGFactory(Generator pGenerator)
Creates a new instance for the given Generator.

Method Details

getGenerator

public Generator getGenerator(SGFactory pController)
Specified by:
getGenerator in interface SGFactoryChain

getGroupSG

public GroupSG getGroupSG(SGFactory pController,
                          XSGroup pGroup)
            throws SAXException
Specified by:
getGroupSG in interface SGFactoryChain

getGroupSG

public GroupSG getGroupSG(SGFactory pController,
                          XSGroup pGroup,
                          Context pClassContext)
            throws SAXException
Specified by:
getGroupSG in interface SGFactoryChain

getGroups

public GroupSG[] getGroups(SGFactory pController)
Specified by:
getGroups in interface SGFactoryChain

getObjectSG

public ObjectSG getObjectSG(SGFactory pController,
                            XSAny pAny,
                            Context pContext)
            throws SAXException
Specified by:
getObjectSG in interface SGFactoryChain

getObjectSG

public ObjectSG getObjectSG(SGFactory pController,
                            XSElement pElement)
            throws SAXException
Specified by:
getObjectSG in interface SGFactoryChain

getObjectSG

public ObjectSG getObjectSG(SGFactory pController,
                            XSElement pElement,
                            Context pContext)
            throws SAXException
Specified by:
getObjectSG in interface SGFactoryChain

getObjects

public ObjectSG[] getObjects(SGFactory pController)
Specified by:
getObjects in interface SGFactoryChain

getSchemaSG

public SchemaSG getSchemaSG(SGFactory pController)
Specified by:
getSchemaSG in interface SGFactoryChain

getSchemaSG

public SchemaSG getSchemaSG(SGFactory pController,
                            XSSchema pSchema)
            throws SAXException
Specified by:
getSchemaSG in interface SGFactoryChain

getTypeSG

public TypeSG getTypeSG(SGFactory pController,
                        XSType pType,
                        Context pClassContext,
                        XsQName pName,
                        JAXBProperty.BaseType pBaseType)
            throws SAXException
Specified by:
getTypeSG in interface SGFactoryChain

getTypeSG

public TypeSG getTypeSG(SGFactory pController,
                        XSType pType,
                        JAXBProperty.BaseType pBaseType)
            throws SAXException
Specified by:
getTypeSG in interface SGFactoryChain

getTypeSG

public TypeSG getTypeSG(SGFactory pController,
                        XSType pType,
                        XsQName pName,
                        JAXBProperty.BaseType pBaseType)
            throws SAXException
Specified by:
getTypeSG in interface SGFactoryChain

getTypes

public TypeSG[] getTypes(SGFactory pController)
Specified by:
getTypes in interface SGFactoryChain

init

public void init(SGFactory pController)
Specified by:
init in interface SGFactoryChain

newFacet

public Facet newFacet(SGFactory pController,
                      XSType pType,
                      XSEnumeration[] pEnumerations)
            throws SAXException
Specified by:
newFacet in interface SGFactoryChain

newGroupSG

public GroupSG newGroupSG(SGFactory pController,
                          XSGroup pGroup)
            throws SAXException
Specified by:
newGroupSG in interface SGFactoryChain

newGroupSG

public GroupSG newGroupSG(SGFactory pController,
                          XSGroup pGroup,
                          Context pClassContext)
            throws SAXException
Specified by:
newGroupSG in interface SGFactoryChain

newObjectSG

public Object newObjectSG(SGFactory pController,
                          XSAny pAny)
Specified by:
newObjectSG in interface SGFactoryChain

newObjectSG

public Object newObjectSG(SGFactory pController,
                          XSElement pElement)
            throws SAXException
Specified by:
newObjectSG in interface SGFactoryChain

newObjectSG

public Object newObjectSG(SGFactory pController,
                          XSElement pElement,
                          Context pContext)
            throws SAXException
Specified by:
newObjectSG in interface SGFactoryChain

newSchemaSG

public Object newSchemaSG(SGFactory pController,
                          XSSchema pSchema)
            throws SAXException
Specified by:
newSchemaSG in interface SGFactoryChain

newTypeSG

public Object newTypeSG(SGFactory pController,
                        XSType pType,
                        Context pClassContext,
                        XsQName pName,
                        JAXBProperty.BaseType pBaseType)
            throws SAXException
Specified by:
newTypeSG in interface SGFactoryChain

newTypeSG

public Object newTypeSG(SGFactory pController,
                        XSType pType,
                        JAXBProperty.BaseType pBaseType)
            throws SAXException
Specified by:
newTypeSG in interface SGFactoryChain

newTypeSG

public Object newTypeSG(SGFactory pController,
                        XSType pType,
                        XsQName pName,
                        JAXBProperty.BaseType pBaseType)
            throws SAXException
Specified by:
newTypeSG in interface SGFactoryChain

newXSObjectFactory

public XSObjectFactory newXSObjectFactory(SGFactory pController)
            throws SAXException
Specified by:
newXSObjectFactory in interface SGFactoryChain

newXSParser

public XSParser newXSParser(SGFactory pController)
            throws SAXException
Specified by:
newXSParser in interface SGFactoryChain

newXsObjectFactory

public XsObjectFactory newXsObjectFactory(SGFactory pController)
            throws SAXException
Specified by:
newXsObjectFactory in interface SGFactoryChain