|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.service.helper.SDOTypeBuilder
public class SDOTypeBuilder
Field Summary | |
---|---|
static java.lang.String |
SDO_WRAPPER_SUFFIX
|
Constructor Summary | |
---|---|
SDOTypeBuilder()
|
Method Summary | |
---|---|
static void |
addSchemaImports(java.io.Reader inputSchema,
java.io.Writer outputSchema,
java.util.Map<java.lang.String,java.lang.String> locationToNSMap)
Adds schema imports/includes to a schema file. |
static void |
createSchemaFile(SDOBuilderSrc src,
boolean genWrapper,
java.io.Writer writer)
Generates XSD by dynamically-defining SDO Types. |
static void |
createSchemaFile(SDOBuilderSrc src,
java.io.Writer writer)
Generates XSD by dynamically-defining SDO Type. |
commonj.sdo.Type |
defineSDOTypes(SDOBuilderSrc src,
java.util.Map<commonj.sdo.Type,java.net.URL> schemaLocationMap)
Defines new SDO types dynamically using TypeHelper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SDO_WRAPPER_SUFFIX
Constructor Detail |
---|
public SDOTypeBuilder()
Method Detail |
---|
public static void createSchemaFile(SDOBuilderSrc src, java.io.Writer writer) throws java.lang.Exception
src
- the source from which to generate schemawriter
- a stream for writing the generated schema
java.lang.Exception
- an error occurs writing to streampublic static void createSchemaFile(SDOBuilderSrc src, boolean genWrapper, java.io.Writer writer) throws java.lang.Exception
src
- the source from which to generate schemagenWrapper
- whether to generate an additional SDO Wrapper typewriter
- a stream for writing the generated schema
java.lang.Exception
- an error occurs writing to streampublic static void addSchemaImports(java.io.Reader inputSchema, java.io.Writer outputSchema, java.util.Map<java.lang.String,java.lang.String> locationToNSMap) throws java.lang.Exception
inputSchema
- a reader for an existing schema fileoutputSchema
- a writer for the updated schema filelocationToNSMap
- a mapping of schemaLocation to namespace
java.lang.Exception
- an error occurs parsing the schema or writing
to streampublic commonj.sdo.Type defineSDOTypes(SDOBuilderSrc src, java.util.Map<commonj.sdo.Type,java.net.URL> schemaLocationMap)
src
- the source from which to define SDO typeschemaLocationMap
- a table of defined SDO types and their
corresponding schema location URLs
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |