|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-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() Deprecated. Replaced by SDOTypeBuilder(HelperContext) |
|
SDOTypeBuilder(commonj.sdo.helper.HelperContext helperContext) |
Method Summary | |
---|---|
static boolean |
addRemoveSchemaImports(java.io.Reader inputSchema, java.io.Writer outputSchema, java.util.Map<java.lang.String,java.lang.String> locationToNSMap, java.util.Set<java.lang.String> deleteLocationSet) Adds and removes schema imports/includes to a schema file. |
static void |
addRemoveSchemaImports(java.lang.String absoluteDocName, java.util.Map<java.lang.String,java.lang.String> locationToNSMap, java.util.Set<java.lang.String> deleteLocationSet) Adds and removes schema imports/includes to a schema file. |
static boolean |
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 |
addSchemaImports(java.lang.String absoluteDocName, 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.lang.String displayName, commonj.sdo.helper.HelperContext hContext) Generates XSD by dynamically-defining SDO Type. |
static void |
createSchemaFile(SDOBuilderSrc src, boolean genWrapper, java.lang.String displayName, java.io.Writer writer, commonj.sdo.helper.HelperContext hContext) Generates XSD by dynamically-defining SDO Types. |
static void |
createSchemaFile(SDOBuilderSrc src, boolean genWrapper, java.io.Writer writer) Deprecated. Replaced by createSchemaFile(SDOBuilderSrc, boolean, Writer, HelperContext) |
static void |
createSchemaFile(SDOBuilderSrc src, boolean genWrapper, java.io.Writer writer, commonj.sdo.helper.HelperContext hContext) Generates XSD by dynamically-defining SDO Types. |
static void |
createSchemaFile(SDOBuilderSrc src, commonj.sdo.helper.HelperContext hContext) Generates XSD by dynamically-defining SDO Type. |
static void |
createSchemaFile(SDOBuilderSrc src, java.lang.String displayName, commonj.sdo.helper.HelperContext hContext) Generates XSD by dynamically-defining SDO Type. |
static void |
createSchemaFile(SDOBuilderSrc src, java.io.Writer writer) Deprecated. Replaced by createSchemaFile(SDOBuilderSrc, Writer, HelperContext) |
static void |
createSchemaFile(SDOBuilderSrc src, java.io.Writer writer, commonj.sdo.helper.HelperContext hContext) 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. |
static boolean |
deleteSchemaFile(SDOBuilderSrc src) Deletes the SDO schema file that was persisted to MDS. |
static void |
updateXsdDocumentation(Document xsdDoc, java.lang.String displayName) Updates the <xsd:documentation> element with the specified service data object display name. |
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 |
---|
@Deprecated
public SDOTypeBuilder()
SDOTypeBuilder(HelperContext)
public SDOTypeBuilder(commonj.sdo.helper.HelperContext helperContext)
Method Detail |
---|
public static void createSchemaFile(SDOBuilderSrc src, commonj.sdo.helper.HelperContext hContext) throws java.lang.Exception
Note: If there are already existing types with the same name/uri in the provided context, then they are not modified. See ER 9306924.
src
- the source from which to generate schemahContext
- context where the types are definedjava.lang.Exception
- an error occurs writing to MDSpublic static void createSchemaFile(SDOBuilderSrc src, java.lang.String displayName, commonj.sdo.helper.HelperContext hContext) throws java.lang.Exception
Note: If there are already existing types with the same name/uri in the provided context, then they are not modified. See ER 9306924.
src
- the source from which to generate schemadisplayName
- the SDO display namehContext
- context where the types are definedjava.lang.NullPointerException
- src.getSchemaLocation() returns nulljava.lang.Exception
- an error occurs writing to MDSpublic static void createSchemaFile(SDOBuilderSrc src, boolean genWrapper, java.lang.String displayName, commonj.sdo.helper.HelperContext hContext) throws java.lang.Exception
Note: If there are already existing types with the same name/uri in the provided context, then they are not modified. See ER 9306924.
src
- the source from which to generate schemagenWrapper
- whether to generate an additional SDO Wrapper typedisplayName
- the SDO display namehContext
- context where the types are definedjava.lang.NullPointerException
- src.getSchemaLocation() returns nulljava.lang.Exception
- an error occurs writing to MDSpublic static boolean deleteSchemaFile(SDOBuilderSrc src) throws java.lang.Exception
src
- the source for which to delete schemajava.lang.NullPointerException
- src.getSchemaLocation() returns nulljava.lang.Exception
- an error occurs writing to MDS
@Deprecated
public static void createSchemaFile(SDOBuilderSrc src,
java.io.Writer writer)
throws java.lang.Exception
createSchemaFile(SDOBuilderSrc, Writer, HelperContext)
java.lang.Exception
public static void createSchemaFile(SDOBuilderSrc src, java.io.Writer writer, commonj.sdo.helper.HelperContext hContext) throws java.lang.Exception
Note: If there are already existing types with the same name/uri in the provided context, then they are not modified.
src
- the source from which to generate schemawriter
- a stream for writing the generated schemahContext
- context where the types are definedjava.lang.Exception
- an error occurs writing to stream
@Deprecated
public static void createSchemaFile(SDOBuilderSrc src,
boolean genWrapper,
java.io.Writer writer)
throws java.lang.Exception
createSchemaFile(SDOBuilderSrc, boolean, Writer, HelperContext)
java.lang.Exception
public static void createSchemaFile(SDOBuilderSrc src, boolean genWrapper, java.io.Writer writer, commonj.sdo.helper.HelperContext hContext) throws java.lang.Exception
Note: If there are already existing types with the same name/uri in the provided context, then they are not modified.
src
- the source from which to generate schemagenWrapper
- whether to generate an additional SDO Wrapper typewriter
- a stream for writing the generated schemahContext
- context where the types are definedjava.lang.Exception
- an error occurs writing to streampublic static void createSchemaFile(SDOBuilderSrc src, boolean genWrapper, java.lang.String displayName, java.io.Writer writer, commonj.sdo.helper.HelperContext hContext) throws java.lang.Exception
Note: If there are already existing types with the same name/uri in the provided context, then they are not modified.
src
- the source from which to generate schemagenWrapper
- whether to generate an additional SDO Wrapper typedisplayName
- the SDO display namewriter
- a stream for writing the generated schemahContext
- context where the types are definedjava.lang.Exception
- an error occurs writing to streampublic static void updateXsdDocumentation(Document xsdDoc, java.lang.String displayName) throws java.lang.Exception
xsdDoc
- the enclosing XSD documentdisplayName
- the service data object display namejava.lang.Exception
- an error occurs parsing the schemapublic static boolean 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 namespacetrue
if the output schema is written, false
if there is no change.java.lang.Exception
- an error occurs parsing the schema or writing to streampublic static boolean addRemoveSchemaImports(java.io.Reader inputSchema, java.io.Writer outputSchema, java.util.Map<java.lang.String,java.lang.String> locationToNSMap, java.util.Set<java.lang.String> deleteLocationSet) throws java.lang.Exception
inputSchema
- a reader for an existing schema fileoutputSchema
- a writer for the updated schema filelocationToNSMap
- a mapping of schemaLocation to namespacedeleteLocationSet
- a set of schemaLocation to removetrue
if the output schema is written, false
if there is no change.java.lang.Exception
- an error occurs parsing the schema or writing to streampublic static void addSchemaImports(java.lang.String absoluteDocName, java.util.Map<java.lang.String,java.lang.String> locationToNSMap) throws java.lang.Exception
absoluteDocName
- the document name for an existing schema filelocationToNSMap
- a mapping of schemaLocation to namespacejava.lang.Exception
- an error occurs reading from or writing to MDSpublic static void addRemoveSchemaImports(java.lang.String absoluteDocName, java.util.Map<java.lang.String,java.lang.String> locationToNSMap, java.util.Set<java.lang.String> deleteLocationSet) throws java.lang.Exception
absoluteDocName
- the document name for an existing schema filelocationToNSMap
- a mapping of schemaLocation to namespacedeleteLocationSet
- a set of schemaLocation to removejava.lang.Exception
- an error occurs reading from or writing to MDSpublic 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 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |