com.informatica.powercenter.sdk.mapfwk.core.Factory
Class XMLFileParser

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

public class XMLFileParser
extends java.lang.Object

Specify the directory containing the pluginFiles directory in the classpath.

Author:
sramamoo

Method Summary
 java.util.Properties getConnectionAttributes(java.lang.String connectionName)
          Get the attributes associated with a connection.
 java.lang.String[] getFieldAttributeNames(java.lang.String type)
          Get the field attributes for the source/target specified by type
static XMLFileParser getInstance(java.lang.String version)
           
 java.util.List getMetaDataExtensions(java.lang.String type, java.lang.String SourceTarget)
          Get the meta extensions for the source/target
 java.util.Properties getPCToSDKDataTypeMapping(java.lang.String type)
          Get data type mapping to convert power center datatype to type
 java.util.List getPowerConnectConInfos(java.lang.String type, java.lang.String extensionName)
          Get the connection info for the type and extensionType combination
 java.lang.String getReaderName(java.lang.String type)
          Get the name of the reader
 java.util.Properties getSDKToPCDataTypeMapping(java.lang.String type)
          Get data type mapping to convert type to power center datatype
 java.lang.String getWriterName(java.lang.String type)
          Get the name of the Writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static XMLFileParser getInstance(java.lang.String version)
                                 throws com.informatica.powercenter.sdk.mapfwk.exceptions.SourceTargetDefinitionNotFoundException,
                                        javax.xml.bind.JAXBException
Throws:
com.informatica.powercenter.sdk.mapfwk.exceptions.SourceTargetDefinitionNotFoundException
javax.xml.bind.JAXBException

getMetaDataExtensions

public java.util.List getMetaDataExtensions(java.lang.String type,
                                            java.lang.String SourceTarget)
Get the meta extensions for the source/target

Parameters:
sourceType - type of the source/target
Returns:
List

getPowerConnectConInfos

public java.util.List getPowerConnectConInfos(java.lang.String type,
                                              java.lang.String extensionName)
Get the connection info for the type and extensionType combination

Parameters:
type - Type of source/target
extensionName - name of the extension
Returns:
List

getConnectionAttributes

public java.util.Properties getConnectionAttributes(java.lang.String connectionName)
Get the attributes associated with a connection. The default values for the attributes are populated

Parameters:
connectionName - name of the connection
Returns:
Properties

getSDKToPCDataTypeMapping

public java.util.Properties getSDKToPCDataTypeMapping(java.lang.String type)
Get data type mapping to convert type to power center datatype

Parameters:
type - Type of source/target
Returns:
Properties

getPCToSDKDataTypeMapping

public java.util.Properties getPCToSDKDataTypeMapping(java.lang.String type)
Get data type mapping to convert power center datatype to type

Parameters:
type - Type of source/target
Returns:
Properties

getReaderName

public java.lang.String getReaderName(java.lang.String type)
Get the name of the reader

Parameters:
type - Type of source/target
Returns:
String

getWriterName

public java.lang.String getWriterName(java.lang.String type)
Get the name of the Writer

Parameters:
type - Type of source/target
Returns:
String

getFieldAttributeNames

public java.lang.String[] getFieldAttributeNames(java.lang.String type)
Get the field attributes for the source/target specified by type

Parameters:
type - Type of source/target
Returns:
String[]