com.informatica.powercenter.sdk.mapfwk.core
Class MapFwkOutputContext

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.MapFwkOutputContext

public class MapFwkOutputContext
extends java.lang.Object

Context class for specifying the output details


Field Summary
static int OUTPUT_FORMAT_MSPPT
          Constant for MS PPT output
static int OUTPUT_FORMAT_XML
          Constant for XML output
static int OUTPUT_TARGET_FILE
          Constant for file target
static int OUTPUT_TARGET_STREAM
          Constant for outputstream target
 
Constructor Summary
MapFwkOutputContext(int format, int target, java.io.OutputStream outStream)
          Constructor with output format written to a file
MapFwkOutputContext(int format, int target, java.lang.String fileName)
          Constructor with output format written to a file
 
Method Summary
 java.lang.String getFileName()
          Gets the output file name
 int getOutputFormat()
          Get the output format
 java.io.OutputStream getOutputStream()
          Gets the output stream
 int getTargetType()
          Gets the output target type
 com.informatica.powercenter.sdk.mapfwk.xml.Writer getWriterClass()
          Get the writer object context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_FORMAT_XML

public static final int OUTPUT_FORMAT_XML
Constant for XML output

See Also:
Constant Field Values

OUTPUT_FORMAT_MSPPT

public static final int OUTPUT_FORMAT_MSPPT
Constant for MS PPT output

See Also:
Constant Field Values

OUTPUT_TARGET_FILE

public static final int OUTPUT_TARGET_FILE
Constant for file target

See Also:
Constant Field Values

OUTPUT_TARGET_STREAM

public static final int OUTPUT_TARGET_STREAM
Constant for outputstream target

See Also:
Constant Field Values
Constructor Detail

MapFwkOutputContext

public MapFwkOutputContext(int format,
                           int target,
                           java.lang.String fileName)
Constructor with output format written to a file

Parameters:
format - output format could be XML, PPT etc
target - output could be written a file or a stream
fileName - target file name

MapFwkOutputContext

public MapFwkOutputContext(int format,
                           int target,
                           java.io.OutputStream outStream)
Constructor with output format written to a file

Parameters:
format - output format could be XML, PPT etc
target - output could be written a file or a stream
outStream - output stream
Method Detail

getOutputFormat

public int getOutputFormat()
Get the output format

Returns:
Returns the output Format.

getTargetType

public int getTargetType()
Gets the output target type

Returns:
Returns the target type.

getOutputStream

public java.io.OutputStream getOutputStream()
Gets the output stream

Returns:
Returns the output Stream.

getFileName

public java.lang.String getFileName()
Gets the output file name

Returns:
Returns the output file name.

getWriterClass

public com.informatica.powercenter.sdk.mapfwk.xml.Writer getWriterClass()
Get the writer object context

Returns:
Returns the Writer object