|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.service.helper.SDOSchemaLocationResolver
public class SDOSchemaLocationResolver
Constructor Summary | |
---|---|
SDOSchemaLocationResolver(java.util.Map<commonj.sdo.Type,java.net.URL> schemaLocationMap)
|
Method Summary | |
---|---|
static java.lang.String |
getSystemFilePath(java.lang.String schemaFileName)
Gets the classpath URL of a system schema file name, e.g. |
java.lang.String |
resolveSchemaLocation(commonj.sdo.Type sourceType,
commonj.sdo.Type targetType)
|
static java.lang.String |
toClasspathLoc(java.lang.String filePath)
Builds an absolute URI reference using the "classpath:/" protocol. |
static java.net.URL |
toClasspathURL(java.lang.String filePath)
Creates a new URL instance using the "classpath:/" protocol. |
static java.net.URL |
toLocationURL(java.lang.String filePath)
Creates a new URL instance suitable for schema location resolution. |
static java.lang.String |
toRelativeLoc(java.lang.String sourcePath,
java.lang.String targetPath)
Derives a relative URI reference suitable to be the value of the schemaLocation attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDOSchemaLocationResolver(java.util.Map<commonj.sdo.Type,java.net.URL> schemaLocationMap)
Method Detail |
---|
public java.lang.String resolveSchemaLocation(commonj.sdo.Type sourceType, commonj.sdo.Type targetType)
resolveSchemaLocation
in interface org.eclipse.persistence.sdo.helper.SchemaLocationResolver
public static java.lang.String getSystemFilePath(java.lang.String schemaFileName)
schemaFileName
- name of a schema file in bc4j-svc-share.jar
public static java.lang.String toClasspathLoc(java.lang.String filePath)
filePath
- path name of a schema file
public static java.net.URL toClasspathURL(java.lang.String filePath)
filePath
- path name of a schema file
public static java.net.URL toLocationURL(java.lang.String filePath)
filePath
- path name of a schema file
public static java.lang.String toRelativeLoc(java.lang.String sourcePath, java.lang.String targetPath)
schemaLocation
attribute.
sourcePath
- path name of the referencing schema filetargetPath
- path name of the referenced schema file
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.1.0) E10653-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |