|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.tools.workbench.XMLProjectReader
public class XMLProjectReader
Purpose: Allow for a TopLink Mapping Workbench generated deployment XML project file to be read. This reader returns an instance of Project to be used to initialize a TopLink session. This class supports reading the 11g 11.1.1 and 10g 10.1.3 and (currently) the 9.0.4/10.1.2 formats.
Constructor Summary | |
---|---|
XMLProjectReader()
|
Method Summary | |
---|---|
static Project |
read(java.io.Reader reader)
Read the TopLink project deployment XML from the reader on the file. |
static Project |
read(java.io.Reader reader,
java.lang.ClassLoader classLoader)
Read the TopLink project deployment XML from the reader on the file. |
static Project |
read(java.lang.String fileOrResourceName)
Read the TopLink project deployment XML from the file or resource name. |
static Project |
read(java.lang.String fileOrResourceName,
java.lang.ClassLoader classLoader)
Read the TopLink project deployment XML from the file or resource name. |
static void |
setShouldUseSchemaValidation(boolean value)
Set if schema validation will be used when parsing the deployment XML. |
static boolean |
shouldUseSchemaValidation()
Return if schema validation will be used when parsing the deployment XML. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLProjectReader()
Method Detail |
---|
public static boolean shouldUseSchemaValidation()
public static void setShouldUseSchemaValidation(boolean value)
public static Project read(java.lang.String fileOrResourceName)
public static Project read(java.io.Reader reader, java.lang.ClassLoader classLoader)
public static Project read(java.lang.String fileOrResourceName, java.lang.ClassLoader classLoader)
public static Project read(java.io.Reader reader)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |