Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.ws.jaxme.generator.sg.impl.SGFactoryChainImpl
org.apache.ws.jaxme.pm.generator.jdbc.JaxMeJdbcSG
public class JaxMeJdbcSG
extends SGFactoryChainImpl
Nested Class Summary | |
static class |
|
Field Summary | |
static String |
|
Constructor Summary | |
|
Method Summary | |
protected Object |
|
protected CustomTableData |
|
protected JaxMeJdbcSG.Mode |
|
protected int |
|
Generator |
|
String |
|
protected SGFactory | |
void | |
Object |
|
Object | |
Object |
|
Object |
|
Methods inherited from class org.apache.ws.jaxme.generator.sg.impl.SGFactoryChainImpl | |
getGenerator , getGroupSG , getGroupSG , getGroups , getObjectSG , getObjectSG , getObjectSG , getObjects , getSchemaSG , getSchemaSG , getTypeSG , getTypeSG , getTypeSG , getTypes , init , newFacet , newGroupSG , newGroupSG , newObjectSG , newObjectSG , newObjectSG , newSchemaSG , newTypeSG , newTypeSG , newTypeSG , newXSObjectFactory , newXSParser , newXsObjectFactory |
public static final String JAXME_JDBC_SCHEMA_URI
Namespace URI of the JDBC schema writer.
protected Object addColumn(ComplexTypeSG pTypeSG, XSType pType, Column pColumn) throws SAXException
Creates a new attribute or chooses an existing atomic child element. Returns theAttributeSG
orParticleSG
.
protected CustomTableData addTableData(ComplexTypeSG pTypeSG, XSType pType, TableDetails pTableDetails) throws SAXException
protected JaxMeJdbcSG.Mode getDatabaseMode(ConnectionDetails pDetails, Connection pConn) throws SQLException
protected int getDbType(JaxMeJdbcSG.Mode pDbMode, int pDbType, long pScale, long pPrecision, String pDbTypeName)
Guess an SQL type, based on reported type, scale and precision.
public Generator getGenerator(SGFactory pFactory)
- Specified by:
- getGenerator in interface SGFactoryChain
- Overrides:
- getGenerator in interface SGFactoryChainImpl
public String getKey()
Returns the key, under which theJaxMeJdbcSG
is registered in the factory.
public void init(SGFactory pFactory)
- Specified by:
- init in interface SGFactoryChain
- Overrides:
- init in interface SGFactoryChainImpl
public Object newSchemaSG(SGFactory pController, XSSchema pSchema) throws SAXException
- Specified by:
- newSchemaSG in interface SGFactoryChain
- Overrides:
- newSchemaSG in interface SGFactoryChainImpl
public Object newTypeSG(SGFactory pController, XSType pType, Context pClassContext, XsQName pName, JAXBProperty.BaseType pBaseType) throws SAXException
- Specified by:
- newTypeSG in interface SGFactoryChain
- Overrides:
- newTypeSG in interface SGFactoryChainImpl
public Object newTypeSG(SGFactory pController, XSType pType, JAXBProperty.BaseType pBaseType) throws SAXException
- Specified by:
- newTypeSG in interface SGFactoryChain
- Overrides:
- newTypeSG in interface SGFactoryChainImpl
public Object newTypeSG(SGFactory pController, XSType pType, XsQName pName, JAXBProperty.BaseType pBaseType) throws SAXException
- Specified by:
- newTypeSG in interface SGFactoryChain
- Overrides:
- newTypeSG in interface SGFactoryChainImpl