IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.struts.utils
Class BTTDefaultConverter

java.lang.Object
  extended bycom.ibm.btt.struts.utils.BTTDefaultConverter
All Implemented Interfaces:
BTTConverter

public class BTTDefaultConverter
extends java.lang.Object
implements BTTConverter


Field Summary
static java.lang.String DOT
          Delim of Flattern value
 
Constructor Summary
BTTDefaultConverter()
           
 
Method Summary
 java.lang.Object convertCtxToWSIFMessage(DataElement dataElement)
          Convert Context object to WSIFMessage object
 void convertWSIFMessageToCtx(Context aContext, org.apache.wsif.WSIFMessage outputMessage, java.util.Hashtable formatMap)
          Convert WSIFMessage object to Context object
 void handleICollRequest(IndexedCollection iColl, Vector mappedData)
          Converts the IndexedCollection data element into Vector
 void handleKCollRequest(KeyedCollection kColl, java.util.Hashtable mappedData)
          Converts the KeyedCollection data element into Hashtable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOT

public static final java.lang.String DOT
Delim of Flattern value

See Also:
Constant Field Values
Constructor Detail

BTTDefaultConverter

public BTTDefaultConverter()
Method Detail

convertCtxToWSIFMessage

public java.lang.Object convertCtxToWSIFMessage(DataElement dataElement)
                                         throws DSEInvalidArgumentException
Description copied from interface: BTTConverter
Convert Context object to WSIFMessage object

Specified by:
convertCtxToWSIFMessage in interface BTTConverter
Parameters:
dataElement -
Returns:
Object
Throws:
DSEInvalidArgumentException

handleKCollRequest

public void handleKCollRequest(KeyedCollection kColl,
                               java.util.Hashtable mappedData)
                        throws DSEInvalidArgumentException,
                               DSEObjectNotFoundException
Converts the KeyedCollection data element into Hashtable

Parameters:
kColl - com.ibm.dse.base.KeyedCollection - The KeyedCollection data element to convert
mappedData - Hashtable - The data mapped
Throws:
DSEInvalidArgumentException
DSEObjectNotFoundException

handleICollRequest

public void handleICollRequest(IndexedCollection iColl,
                               Vector mappedData)
                        throws DSEInvalidArgumentException,
                               DSEObjectNotFoundException
Converts the IndexedCollection data element into Vector

Parameters:
iColl - com.ibm.dse.base.IndexedCollection - The IndexedCollection data element to convert
mappedData - Vector - The data mapped
Throws:
DSEInvalidArgumentException
DSEObjectNotFoundException

convertWSIFMessageToCtx

public void convertWSIFMessageToCtx(Context aContext,
                                    org.apache.wsif.WSIFMessage outputMessage,
                                    java.util.Hashtable formatMap)
                             throws DSEInvalidArgumentException
Description copied from interface: BTTConverter
Convert WSIFMessage object to Context object

Specified by:
convertWSIFMessageToCtx in interface BTTConverter
Parameters:
aContext -
outputMessage -
formatMap -
Throws:
DSEInvalidArgumentException

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005