IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.formatter.client
Class CHAFormatterServiceLocalJavaProxy

java.lang.Object
  extended bycom.ibm.btt.formatter.client.CHAFormatterServiceLocalJavaProxy
All Implemented Interfaces:
CHAFormatterServiceProxy

public class CHAFormatterServiceLocalJavaProxy
extends java.lang.Object
implements CHAFormatterServiceProxy

This class uses local java call to access local CHAFormatterService.


Constructor Summary
CHAFormatterServiceLocalJavaProxy()
          The constructor creates a CHAFormatterService instance.
 
Method Summary
 java.lang.String format(Context aContext, java.lang.String aFormatName)
          Formats a context by a given format.
 java.lang.String format(DataElement aDataElement, java.lang.String aFormatName)
          Formats a data element by a given format.
 java.util.Map formatHashtable(Context aContext, java.lang.String aFormatName)
          Formats a context by a given hashtable format.
 java.util.Map formatHashtable(KeyedCollection aKeyedCollection, java.lang.String aFormatName)
          Formats a KeyedCollection by a given hashtable format.
 java.util.List mapContents(Context aInputContext, Context aOutputContext, java.lang.String aFormatName)
          Maps the contents of a context into another context.
 java.util.List unformat(java.lang.String aString, Context aContext, java.lang.String aFormatName)
          Unformats a context by a given format.
 java.util.List unformat(java.lang.String aString, DataElement aDataElement, java.lang.String aFormatName)
          Unformats a data element by a given format.
 java.util.List unformatHashtable(java.util.Map aHashtable, Context aContext, java.lang.String aFormatName)
          Unformats a context by a given hashtable format.
 java.util.List unformatHashtable(java.util.Map aHashtable, KeyedCollection aKeyedCollection, java.lang.String aFormatName)
          Unformats a KeyedCollection by a given hashtable format.
 java.util.List unformatIndexedCollection(java.util.List aVector, Context aContext, java.lang.String aFormatName)
          Unformats a context by a given hashtable IndexedCollection format.
 java.util.List unformatIndexedCollection(java.util.List aVector, IndexedCollection anIndexedCollection, java.lang.String aFormatName)
          Unformats an IndexedCollection by a given hashtable IndexedCollection format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CHAFormatterServiceLocalJavaProxy

public CHAFormatterServiceLocalJavaProxy()
                                  throws DSEException
The constructor creates a CHAFormatterService instance.

Method Detail

format

public java.lang.String format(Context aContext,
                               java.lang.String aFormatName)
                        throws DSEException
Formats a context by a given format.

Specified by:
format in interface CHAFormatterServiceProxy
Parameters:
aContext - com.ibm.btt.base.Context
aFormatName - java.lang.String
Returns:
java.lang.String
Throws:
DSEException

format

public java.lang.String format(DataElement aDataElement,
                               java.lang.String aFormatName)
                        throws DSEException
Formats a data element by a given format.

Specified by:
format in interface CHAFormatterServiceProxy
Parameters:
aDataElement - com.ibm.btt.base.DataElement
aFormatName - java.lang.String
Returns:
java.lang.String
Throws:
DSEException

unformat

public java.util.List unformat(java.lang.String aString,
                               Context aContext,
                               java.lang.String aFormatName)
                        throws DSEException
Unformats a context by a given format.

Specified by:
unformat in interface CHAFormatterServiceProxy
Parameters:
aContext - com.ibm.btt.base.Context
aString - java.lang.String
aFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException

unformat

public java.util.List unformat(java.lang.String aString,
                               DataElement aDataElement,
                               java.lang.String aFormatName)
                        throws DSEException
Unformats a data element by a given format.

Specified by:
unformat in interface CHAFormatterServiceProxy
Parameters:
aDataElement - com.ibm.btt.base.DataElement
aString - java.lang.String
aFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException

mapContents

public java.util.List mapContents(Context aInputContext,
                                  Context aOutputContext,
                                  java.lang.String aFormatName)
                           throws DSEException
Maps the contents of a context into another context.

Specified by:
mapContents in interface CHAFormatterServiceProxy
Parameters:
aInputContext - com.ibm.btt.base.Context
aOutputContext - java.lang.String
aFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException

formatHashtable

public java.util.Map formatHashtable(Context aContext,
                                     java.lang.String aFormatName)
                              throws DSEException
Formats a context by a given hashtable format.

Specified by:
formatHashtable in interface CHAFormatterServiceProxy
Parameters:
aContext - com.ibm.btt.base.aContext
aFormatName - java.lang.String
Returns:
java.util.Map
Throws:
DSEException

formatHashtable

public java.util.Map formatHashtable(KeyedCollection aKeyedCollection,
                                     java.lang.String aFormatName)
                              throws DSEException
Formats a KeyedCollection by a given hashtable format.

Specified by:
formatHashtable in interface CHAFormatterServiceProxy
Parameters:
aKeyedCollection - com.ibm.btt.base.KeyedCollection
aFormatName - java.lang.String
Returns:
java.util.Map
Throws:
DSEException

unformatHashtable

public java.util.List unformatHashtable(java.util.Map aHashtable,
                                        Context aContext,
                                        java.lang.String aFormatName)
                                 throws DSEException
Unformats a context by a given hashtable format.

Specified by:
unformatHashtable in interface CHAFormatterServiceProxy
Parameters:
aContext - com.ibm.btt.base.Context
aHashtable - java.util.Map
aFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException

unformatHashtable

public java.util.List unformatHashtable(java.util.Map aHashtable,
                                        KeyedCollection aKeyedCollection,
                                        java.lang.String aFormatName)
                                 throws DSEException
Unformats a KeyedCollection by a given hashtable format.

Specified by:
unformatHashtable in interface CHAFormatterServiceProxy
Parameters:
aKeyedCollection - com.ibm.btt.base.KeyedCollection
aHashtable - java.util.Map
aFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException

unformatIndexedCollection

public java.util.List unformatIndexedCollection(java.util.List aVector,
                                                Context aContext,
                                                java.lang.String aFormatName)
                                         throws DSEException,
                                                java.io.IOException
Unformats a context by a given hashtable IndexedCollection format.

Specified by:
unformatIndexedCollection in interface CHAFormatterServiceProxy
Parameters:
aContext - com.ibm.btt.base.Context
aVector - java.util.List
aFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
java.io.IOException

unformatIndexedCollection

public java.util.List unformatIndexedCollection(java.util.List aVector,
                                                IndexedCollection anIndexedCollection,
                                                java.lang.String aFormatName)
                                         throws DSEException,
                                                java.io.IOException
Unformats an IndexedCollection by a given hashtable IndexedCollection format.

Specified by:
unformatIndexedCollection in interface CHAFormatterServiceProxy
Parameters:
anIndexedCollection - com.ibm.btt.base.IndexedCollection
aVector - java.util.List
aFormatName - java.lang.String
Returns:
java.util.List
Throws:
DSEException
java.io.IOException

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005