|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sessions.factories.XMLProjectWriter
public class XMLProjectWriter
Purpose: Write the deployment XML (object persistence meta-data) for the TopLink project instance to a file. Note the TopLink deployment XML format has change as of the OracleAS TopLink 10g (10.0.3) release to use XML schema.
Constructor Summary | |
---|---|
XMLProjectWriter()
Default constructor. |
Method Summary | |
---|---|
static void |
write(Project project,
java.lang.String fileName)
PUBLIC: Given the file name (including path), and a project, this writes out the deployment XML file storing the project's descriptor and mapping information. |
static void |
write(Project project,
java.io.Writer writer)
PUBLIC: Given the writer, and a project, this writes out the deployment XML file storing the project's descriptor and mapping information. |
static void |
write(java.lang.String fileName,
Project project)
INTERNAL: This should not be used. |
static void |
write(java.lang.String fileName,
Project project,
java.io.Writer writer)
INTERNAL: This should not be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLProjectWriter()
Method Detail |
---|
public static void write(Project project, java.lang.String fileName)
fileName
- file to write to (including path)project
- the project instance to writepublic static void write(Project project, java.io.Writer writer)
writer
- writer to writer toproject
- the project instance to writepublic static void write(java.lang.String fileName, Project project)
write(Project, String)
public static void write(java.lang.String fileName, Project project, java.io.Writer writer)
write(Project, Writer)
,
write(Project, String)
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |