Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.tools.workbench
Class XMLProjectWriter

java.lang.Object
  extended byoracle.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
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
Throws:
BuilderException

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.