org.apache.ws.jaxme.generator.sg.impl
Class JAXBSGFactory
java.lang.Object
org.apache.ws.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
Method Summary |
Generator |
getGenerator(SGFactory pController)
|
GroupSG[] |
getGroups(SGFactory pController)
|
GroupSG |
getGroupSG(SGFactory pController,
XSGroup pGroup)
|
GroupSG |
getGroupSG(SGFactory pController,
XSGroup pGroup,
Context pClassContext)
|
ObjectSG[] |
getObjects(SGFactory pController)
|
ObjectSG |
getObjectSG(SGFactory pController,
XSAny pAny,
Context pContext)
|
ObjectSG |
getObjectSG(SGFactory pController,
XSElement pElement)
|
ObjectSG |
getObjectSG(SGFactory pController,
XSElement pElement,
Context pContext)
|
SchemaSG |
getSchemaSG(SGFactory pController)
|
SchemaSG |
getSchemaSG(SGFactory pController,
XSSchema pSchema)
|
TypeSG[] |
getTypes(SGFactory pController)
|
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)
|
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)
|
java.lang.Object |
newObjectSG(SGFactory pController,
XSAny pAny)
|
java.lang.Object |
newObjectSG(SGFactory pController,
XSElement pElement)
|
java.lang.Object |
newObjectSG(SGFactory pController,
XSElement pElement,
Context pContext)
|
java.lang.Object |
newSchemaSG(SGFactory pController,
XSSchema pSchema)
|
java.lang.Object |
newTypeSG(SGFactory pController,
XSType pType,
Context pClassContext,
XsQName pName,
JAXBProperty.BaseType pBaseType)
|
java.lang.Object |
newTypeSG(SGFactory pController,
XSType pType,
JAXBProperty.BaseType pBaseType)
|
java.lang.Object |
newTypeSG(SGFactory pController,
XSType pType,
XsQName pName,
JAXBProperty.BaseType pBaseType)
|
XsObjectFactory |
newXsObjectFactory(SGFactory pController)
|
XSObjectFactory |
newXSObjectFactory(SGFactory pController)
|
XSParser |
newXSParser(SGFactory pController)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBSGFactory
public JAXBSGFactory(Generator pGenerator)
- Creates a new instance for the given
Generator
.
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,
XSGroup pGroup)
throws org.xml.sax.SAXException
- Specified by:
getGroupSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newGroupSG
public GroupSG newGroupSG(SGFactory pController,
XSGroup pGroup)
throws org.xml.sax.SAXException
- Specified by:
newGroupSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getGroupSG
public GroupSG getGroupSG(SGFactory pController,
XSGroup pGroup,
Context pClassContext)
throws org.xml.sax.SAXException
- Specified by:
getGroupSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newGroupSG
public GroupSG newGroupSG(SGFactory pController,
XSGroup pGroup,
Context pClassContext)
throws org.xml.sax.SAXException
- Specified by:
newGroupSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newObjectSG
public java.lang.Object newObjectSG(SGFactory pController,
XSElement pElement)
throws org.xml.sax.SAXException
- Specified by:
newObjectSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getObjectSG
public ObjectSG getObjectSG(SGFactory pController,
XSElement pElement)
throws org.xml.sax.SAXException
- Specified by:
getObjectSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newObjectSG
public java.lang.Object newObjectSG(SGFactory pController,
XSAny pAny)
- Specified by:
newObjectSG
in interface SGFactoryChain
getObjectSG
public ObjectSG getObjectSG(SGFactory pController,
XSAny pAny,
Context pContext)
throws org.xml.sax.SAXException
- Specified by:
getObjectSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newObjectSG
public java.lang.Object newObjectSG(SGFactory pController,
XSElement pElement,
Context pContext)
throws org.xml.sax.SAXException
- Specified by:
newObjectSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getObjectSG
public ObjectSG getObjectSG(SGFactory pController,
XSElement pElement,
Context pContext)
throws org.xml.sax.SAXException
- Specified by:
getObjectSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getSchemaSG
public SchemaSG getSchemaSG(SGFactory pController,
XSSchema pSchema)
throws org.xml.sax.SAXException
- Specified by:
getSchemaSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getSchemaSG
public SchemaSG getSchemaSG(SGFactory pController)
- Specified by:
getSchemaSG
in interface SGFactoryChain
newSchemaSG
public java.lang.Object newSchemaSG(SGFactory pController,
XSSchema pSchema)
throws org.xml.sax.SAXException
- Specified by:
newSchemaSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getTypeSG
public TypeSG getTypeSG(SGFactory pController,
XSType pType,
JAXBProperty.BaseType pBaseType)
throws org.xml.sax.SAXException
- Specified by:
getTypeSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newTypeSG
public java.lang.Object newTypeSG(SGFactory pController,
XSType pType,
JAXBProperty.BaseType pBaseType)
throws org.xml.sax.SAXException
- Specified by:
newTypeSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getTypeSG
public TypeSG getTypeSG(SGFactory pController,
XSType pType,
Context pClassContext,
XsQName pName,
JAXBProperty.BaseType pBaseType)
throws org.xml.sax.SAXException
- Specified by:
getTypeSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newTypeSG
public java.lang.Object newTypeSG(SGFactory pController,
XSType pType,
Context pClassContext,
XsQName pName,
JAXBProperty.BaseType pBaseType)
throws org.xml.sax.SAXException
- Specified by:
newTypeSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newTypeSG
public java.lang.Object newTypeSG(SGFactory pController,
XSType pType,
XsQName pName,
JAXBProperty.BaseType pBaseType)
throws org.xml.sax.SAXException
- Specified by:
newTypeSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
getTypeSG
public TypeSG getTypeSG(SGFactory pController,
XSType pType,
XsQName pName,
JAXBProperty.BaseType pBaseType)
throws org.xml.sax.SAXException
- Specified by:
getTypeSG
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newXSParser
public XSParser newXSParser(SGFactory pController)
throws org.xml.sax.SAXException
- Specified by:
newXSParser
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newFacet
public Facet newFacet(SGFactory pController,
XSType pType,
XSEnumeration[] pEnumerations)
throws org.xml.sax.SAXException
- Specified by:
newFacet
in interface SGFactoryChain
- Throws:
org.xml.sax.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
newXsObjectFactory
public XsObjectFactory newXsObjectFactory(SGFactory pController)
throws org.xml.sax.SAXException
- Specified by:
newXsObjectFactory
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException
newXSObjectFactory
public XSObjectFactory newXSObjectFactory(SGFactory pController)
throws org.xml.sax.SAXException
- Specified by:
newXSObjectFactory
in interface SGFactoryChain
- Throws:
org.xml.sax.SAXException