Class XMLProjectWriter
- java.lang.Object
-
- org.eclipse.persistence.sessions.factories.XMLProjectWriter
-
public class XMLProjectWriter extends java.lang.Object
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.
- Author:
- James Sutherland
- Since:
- TopLink 3.0
-
-
Constructor Summary
Constructors Constructor Description XMLProjectWriter()
Default constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.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(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.
-
-
-
Method Detail
-
write
public 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.- Parameters:
fileName
- file to write to (including path)project
- the project instance to write
-
write
public 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.- Parameters:
writer
- writer to writer toproject
- the project instance to write
-
write
public static void write(java.lang.String fileName, Project project)
INTERNAL: This should not be used.- See Also:
write(Project, String)
-
write
public static void write(java.lang.String fileName, Project project, java.io.Writer writer)
INTERNAL: This should not be used.- See Also:
write(Project, Writer)
,write(Project, String)
-
-