Class SDOClassGenerator
java.lang.Object
org.eclipse.persistence.sdo.helper.SDOClassGenerator
Purpose: 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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(Reader xsdReader, String sourceDir, SchemaResolver schemaResolver) generate
(Reader xsdReader, CodeWriter aCodeWriter) generate
(Reader xsdReader, CodeWriter aCodeWriter, SchemaResolver schemaResolver) generate
(Reader xsdReader, CodeWriter aCodeWriter, SchemaResolver schemaResolver, boolean bProcessImports) generate
(Reader xsdReader, SchemaResolver schemaResolver) generate
(Source xsdSource, String sourceDir, SchemaResolver schemaResolver) generate
(Source xsdSource, CodeWriter aCodeWriter) generate
(Source xsdSource, CodeWriter aCodeWriter, SchemaResolver schemaResolver) generate
(Source xsdSource, CodeWriter aCodeWriter, SchemaResolver schemaResolver, boolean bProcessImports) generate
(Source xsdSource, SchemaResolver schemaResolver) generate
(CodeWriter aCodeWriter, List types) static void
void
setCodeWriter
(CodeWriter theCodeWriter) void
setGeneratedBuffers
(Map generatedBuffersMap) void
setImplGenerator
(boolean genImpls) void
setInterfaceGenerator
(boolean genIterfaces) void
-
Constructor Details
-
SDOClassGenerator
public SDOClassGenerator() -
SDOClassGenerator
-
-
Method Details
-
setInterfaceGenerator
public void setInterfaceGenerator(boolean genIterfaces) -
setImplGenerator
public void setImplGenerator(boolean genImpls) -
main
-
generate
-
generate
-
generate
-
generate
-
generate
-
generate
-
generate
public Map generate(Reader xsdReader, CodeWriter aCodeWriter, SchemaResolver schemaResolver, boolean bProcessImports) -
generate
-
generate
-
generate
-
generate
-
generate
-
generate
public Map generate(Source xsdSource, CodeWriter aCodeWriter, SchemaResolver schemaResolver, boolean bProcessImports) -
generate
-
setGeneratedBuffers
-
getGeneratedBuffers
-
setCodeWriter
-
getCodeWriter
-
setSDOClassGeneratorListener
-
getSDOClassGeneratorListener
-