net.sf.jaxme.generator.sg.impl
Class JAXBSGFactory

java.lang.Object
  extended bynet.sf.jaxme.generator.sg.impl.JAXBSGFactory
All Implemented Interfaces:
SGFactoryChain
Direct Known Subclasses:
JaxMeSGFactory

public class JAXBSGFactory
extends java.lang.Object
implements SGFactoryChain

Author:
Jochen Wiedmann

Constructor Summary
JAXBSGFactory(Generator pGenerator)
           
 
Method Summary
 Generator getGenerator(SGFactory pController)
           
 GroupSG[] getGroups(SGFactory pController)
           
 GroupSG getGroupSG(SGFactory pController, net.sf.jaxme.xs.XSGroup pGroup)
           
 GroupSG getGroupSG(SGFactory pController, net.sf.jaxme.xs.XSGroup pGroup, Context pClassContext)
           
 ObjectSG[] getObjects(SGFactory pController)
           
 ObjectSG getObjectSG(SGFactory pController, net.sf.jaxme.xs.XSElement pElement)
           
 ObjectSG getObjectSG(SGFactory pController, net.sf.jaxme.xs.XSElement pElement, Context pContext)
           
 SchemaSG getSchemaSG(SGFactory pController)
           
 SchemaSG getSchemaSG(SGFactory pController, net.sf.jaxme.xs.XSSchema pSchema)
           
 TypeSG[] getTypes(SGFactory pController)
           
 TypeSG getTypeSG(SGFactory pController, net.sf.jaxme.xs.XSType pType)
           
 TypeSG getTypeSG(SGFactory pController, net.sf.jaxme.xs.XSType pType, Context pClassContext, net.sf.jaxme.xs.xml.XsQName pName)
           
 TypeSG getTypeSG(SGFactory pController, net.sf.jaxme.xs.XSType pType, net.sf.jaxme.xs.xml.XsQName pName)
           
 void init(SGFactory pController)
           
 Facet newFacet(SGFactory pController, net.sf.jaxme.xs.XSType pType, net.sf.jaxme.xs.XSEnumeration[] pEnumerations)
           
 GroupSG newGroupSG(SGFactory pController, net.sf.jaxme.xs.XSGroup pGroup)
           
 GroupSG newGroupSG(SGFactory pController, net.sf.jaxme.xs.XSGroup pGroup, Context pClassContext)
           
 java.lang.Object newObjectSG(SGFactory pController, net.sf.jaxme.xs.XSElement pElement)
           
 java.lang.Object newObjectSG(SGFactory pController, net.sf.jaxme.xs.XSElement pElement, Context pContext)
           
 SchemaSG newSchemaSG(SGFactory pController, net.sf.jaxme.xs.XSSchema pSchema)
           
 java.lang.Object newTypeSG(SGFactory pController, net.sf.jaxme.xs.XSType pType)
           
 java.lang.Object newTypeSG(SGFactory pController, net.sf.jaxme.xs.XSType pType, Context pClassContext, net.sf.jaxme.xs.xml.XsQName pName)
           
 java.lang.Object newTypeSG(SGFactory pController, net.sf.jaxme.xs.XSType pType, net.sf.jaxme.xs.xml.XsQName pName)
           
 net.sf.jaxme.xs.XSParser newXSParser(SGFactory pController)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBSGFactory

public JAXBSGFactory(Generator pGenerator)
Method Detail

init

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

getGenerator

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

getGroupSG

public GroupSG getGroupSG(SGFactory pController,
                          net.sf.jaxme.xs.XSGroup pGroup)
                   throws SAXException
Specified by:
getGroupSG in interface SGFactoryChain
Throws:
SAXException

newGroupSG

public GroupSG newGroupSG(SGFactory pController,
                          net.sf.jaxme.xs.XSGroup pGroup)
                   throws SAXException
Specified by:
newGroupSG in interface SGFactoryChain
Throws:
SAXException

getGroupSG

public GroupSG getGroupSG(SGFactory pController,
                          net.sf.jaxme.xs.XSGroup pGroup,
                          Context pClassContext)
                   throws SAXException
Specified by:
getGroupSG in interface SGFactoryChain
Throws:
SAXException

newGroupSG

public GroupSG newGroupSG(SGFactory pController,
                          net.sf.jaxme.xs.XSGroup pGroup,
                          Context pClassContext)
                   throws SAXException
Specified by:
newGroupSG in interface SGFactoryChain
Throws:
SAXException

newObjectSG

public java.lang.Object newObjectSG(SGFactory pController,
                                    net.sf.jaxme.xs.XSElement pElement)
                             throws SAXException
Specified by:
newObjectSG in interface SGFactoryChain
Throws:
SAXException

getObjectSG

public ObjectSG getObjectSG(SGFactory pController,
                            net.sf.jaxme.xs.XSElement pElement)
                     throws SAXException
Specified by:
getObjectSG in interface SGFactoryChain
Throws:
SAXException

newObjectSG

public java.lang.Object newObjectSG(SGFactory pController,
                                    net.sf.jaxme.xs.XSElement pElement,
                                    Context pContext)
                             throws SAXException
Specified by:
newObjectSG in interface SGFactoryChain
Throws:
SAXException

getObjectSG

public ObjectSG getObjectSG(SGFactory pController,
                            net.sf.jaxme.xs.XSElement pElement,
                            Context pContext)
                     throws SAXException
Specified by:
getObjectSG in interface SGFactoryChain
Throws:
SAXException

getSchemaSG

public SchemaSG getSchemaSG(SGFactory pController,
                            net.sf.jaxme.xs.XSSchema pSchema)
                     throws SAXException
Specified by:
getSchemaSG in interface SGFactoryChain
Throws:
SAXException

getSchemaSG

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

newSchemaSG

public SchemaSG newSchemaSG(SGFactory pController,
                            net.sf.jaxme.xs.XSSchema pSchema)
                     throws SAXException
Specified by:
newSchemaSG in interface SGFactoryChain
Throws:
SAXException

getTypeSG

public TypeSG getTypeSG(SGFactory pController,
                        net.sf.jaxme.xs.XSType pType)
                 throws SAXException
Specified by:
getTypeSG in interface SGFactoryChain
Throws:
SAXException

newTypeSG

public java.lang.Object newTypeSG(SGFactory pController,
                                  net.sf.jaxme.xs.XSType pType)
                           throws SAXException
Specified by:
newTypeSG in interface SGFactoryChain
Throws:
SAXException

getTypeSG

public TypeSG getTypeSG(SGFactory pController,
                        net.sf.jaxme.xs.XSType pType,
                        Context pClassContext,
                        net.sf.jaxme.xs.xml.XsQName pName)
                 throws SAXException
Specified by:
getTypeSG in interface SGFactoryChain
Throws:
SAXException

newTypeSG

public java.lang.Object newTypeSG(SGFactory pController,
                                  net.sf.jaxme.xs.XSType pType,
                                  Context pClassContext,
                                  net.sf.jaxme.xs.xml.XsQName pName)
                           throws SAXException
Specified by:
newTypeSG in interface SGFactoryChain
Throws:
SAXException

newTypeSG

public java.lang.Object newTypeSG(SGFactory pController,
                                  net.sf.jaxme.xs.XSType pType,
                                  net.sf.jaxme.xs.xml.XsQName pName)
                           throws SAXException
Specified by:
newTypeSG in interface SGFactoryChain
Throws:
SAXException

getTypeSG

public TypeSG getTypeSG(SGFactory pController,
                        net.sf.jaxme.xs.XSType pType,
                        net.sf.jaxme.xs.xml.XsQName pName)
                 throws SAXException
Specified by:
getTypeSG in interface SGFactoryChain
Throws:
SAXException

newXSParser

public net.sf.jaxme.xs.XSParser newXSParser(SGFactory pController)
                                     throws SAXException
Specified by:
newXSParser in interface SGFactoryChain
Throws:
SAXException

newFacet

public Facet newFacet(SGFactory pController,
                      net.sf.jaxme.xs.XSType pType,
                      net.sf.jaxme.xs.XSEnumeration[] pEnumerations)
               throws SAXException
Specified by:
newFacet in interface SGFactoryChain
Throws:
SAXException

getTypes

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

getGroups

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

getObjects

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