org.eclipse.persistence.sdo.helper
Class SDOClassGenerator
java.lang.Object
org.eclipse.persistence.sdo.helper.SDOClassGenerator
public class SDOClassGenerator
- extends java.lang.Object
Purpose<>/b: Generate Java interfaces and implementation classes from a list of SDO Type objects.
- This class can be run standalone - logging will default to level FINER when run from the command line.
Method Summary |
java.util.Map |
generate(CodeWriter aCodeWriter,
java.util.List types)
|
java.util.Map |
generate(java.io.Reader xsdReader)
|
java.util.Map |
generate(java.io.Reader xsdReader,
CodeWriter aCodeWriter)
|
java.util.Map |
generate(java.io.Reader xsdReader,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver)
|
java.util.Map |
generate(java.io.Reader xsdReader,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver,
boolean bProcessImports)
|
java.util.Map |
generate(java.io.Reader xsdReader,
SchemaResolver schemaResolver)
|
java.util.Map |
generate(java.io.Reader xsdReader,
java.lang.String sourceDir)
|
java.util.Map |
generate(java.io.Reader xsdReader,
java.lang.String sourceDir,
SchemaResolver schemaResolver)
|
java.util.Map |
generate(javax.xml.transform.Source xsdSource,
CodeWriter aCodeWriter)
|
java.util.Map |
generate(javax.xml.transform.Source xsdSource,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver)
|
java.util.Map |
generate(javax.xml.transform.Source xsdSource,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver,
boolean bProcessImports)
|
java.util.Map |
generate(javax.xml.transform.Source xsdSource,
SchemaResolver schemaResolver)
|
java.util.Map |
generate(javax.xml.transform.Source xsdSource,
java.lang.String sourceDir)
|
java.util.Map |
generate(javax.xml.transform.Source xsdSource,
java.lang.String sourceDir,
SchemaResolver schemaResolver)
|
CodeWriter |
getCodeWriter()
|
java.util.Map |
getGeneratedBuffers()
|
SDOClassGeneratorListener |
getSDOClassGeneratorListener()
|
static void |
main(java.lang.String[] args)
|
void |
setCodeWriter(CodeWriter theCodeWriter)
|
void |
setGeneratedBuffers(java.util.Map generatedBuffersMap)
|
void |
setSDOClassGeneratorListener(SDOClassGeneratorListener listener)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SDOClassGenerator
public SDOClassGenerator()
SDOClassGenerator
public SDOClassGenerator(commonj.sdo.helper.HelperContext aContext)
main
public static void main(java.lang.String[] args)
generate
public java.util.Map generate(java.io.Reader xsdReader)
generate
public java.util.Map generate(java.io.Reader xsdReader,
java.lang.String sourceDir)
generate
public java.util.Map generate(java.io.Reader xsdReader,
java.lang.String sourceDir,
SchemaResolver schemaResolver)
generate
public java.util.Map generate(java.io.Reader xsdReader,
SchemaResolver schemaResolver)
generate
public java.util.Map generate(java.io.Reader xsdReader,
CodeWriter aCodeWriter)
generate
public java.util.Map generate(java.io.Reader xsdReader,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver)
generate
public java.util.Map generate(java.io.Reader xsdReader,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver,
boolean bProcessImports)
generate
public java.util.Map generate(javax.xml.transform.Source xsdSource,
java.lang.String sourceDir)
generate
public java.util.Map generate(javax.xml.transform.Source xsdSource,
java.lang.String sourceDir,
SchemaResolver schemaResolver)
generate
public java.util.Map generate(javax.xml.transform.Source xsdSource,
SchemaResolver schemaResolver)
generate
public java.util.Map generate(javax.xml.transform.Source xsdSource,
CodeWriter aCodeWriter)
generate
public java.util.Map generate(javax.xml.transform.Source xsdSource,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver)
generate
public java.util.Map generate(javax.xml.transform.Source xsdSource,
CodeWriter aCodeWriter,
SchemaResolver schemaResolver,
boolean bProcessImports)
generate
public java.util.Map generate(CodeWriter aCodeWriter,
java.util.List types)
setGeneratedBuffers
public void setGeneratedBuffers(java.util.Map generatedBuffersMap)
getGeneratedBuffers
public java.util.Map getGeneratedBuffers()
setCodeWriter
public void setCodeWriter(CodeWriter theCodeWriter)
getCodeWriter
public CodeWriter getCodeWriter()
setSDOClassGeneratorListener
public void setSDOClassGeneratorListener(SDOClassGeneratorListener listener)
getSDOClassGeneratorListener
public SDOClassGeneratorListener getSDOClassGeneratorListener()