|
Oracle TopLink Java API Reference 10g Release 3 (10.1.3.1) B28219-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.tools.workbench.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. Note the TopLink deployment XML format has change as of the OracleAS TopLink 10g (10.0.3) release to use XML schema. This class supports reading both the new and old formats.
Constructor Summary | |
XMLProjectReader() |
Method Summary | |
static Project |
read(java.io.Reader reader) PUBLIC: Read the TopLink project deployment XML from the reader on the file. |
static Project |
read(java.io.Reader reader, java.lang.ClassLoader classLoader) PUBLIC: Read the TopLink project deployment XML from the reader on the file. |
static Project |
read(java.lang.String fileOrResourceName) PUBLIC: Read the TopLink project deployment XML from the file or resource name. |
static Project |
read(java.lang.String fileOrResourceName, java.lang.ClassLoader classLoader) PUBLIC: Read the TopLink project deployment XML from the file or resource name. |
static void |
setShouldUseSchemaValidation(boolean value) PUBLIC: Set if schema validation will be used when parsing the 10g (10.0.3) deployment XML. |
static boolean |
shouldUseSchemaValidation() PUBLIC: Return if schema validation will be used when parsing the 10g (10.0.3) 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 |