oracle.toplink.tools.workbench
Class XMLProjectWriter

java.lang.Object
  |
  +--oracle.toplink.tools.workbench.XMLProjectWriter

public class XMLProjectWriter
extends java.lang.Object

Purpose: Allow for a TopLink Builder generated deployment XML project file to be read. The Builder XML file stores the TopLink descriptor (meta-data) information which describe the database mappings. This reader returns an instance of Project to be used to initialize a TopLink session.

Since:
TopLink 3.0

Constructor Summary
XMLProjectWriter()
          XMLProjectWriter constructor comment.
 
Method Summary
TypeMethod
static void write(java.lang.String fileName, Project project)
          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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLProjectWriter

public XMLProjectWriter()
XMLProjectWriter constructor comment.
Method Detail

write

public static void write(java.lang.String fileName,
                         Project project)
                  throws BuilderException
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