Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.rt.extract.util.xml
Class SDXMLWriterFactory

java.lang.Object
  extended by oracle.apps.fnd.applseed.rt.extract.util.xml.SDXMLWriterFactory

public final class SDXMLWriterFactory
extends java.lang.Object

Factory class to return SDXMLWriter based on type. Currently, only SDXMLSaxWriter used.


Method Summary
static SDXMLWriter getXMLWriter(java.io.File file, java.lang.String type)
          Get an XMLWriter for named File based on type.
static SDXMLWriter getXMLWriter(java.io.OutputStream outstream, java.lang.String type)
          Get an XMLWriter for named output stream based on type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getXMLWriter

public static SDXMLWriter getXMLWriter(java.io.OutputStream outstream,
                                       java.lang.String type)
Get an XMLWriter for named output stream based on type.

Parameters:
outstream - OutputStream to accept xml doc
type - String XML writer type
Returns:
SDXMLWriter implmentation instance object

getXMLWriter

public static SDXMLWriter getXMLWriter(java.io.File file,
                                       java.lang.String type)
                                throws ExtractException
Get an XMLWriter for named File based on type.

Parameters:
file - File to write
type - String XML writer type
Returns:
SDXMLWriter implementation instance object
Throws:
ExtractException - file could not be found

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.