|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.cs.html.remote.RemoteDataMapper
public class RemoteDataMapper
Data Mapper to map data to remote flow. Make use of current BTT Data Mapper Convert Tag definitions. The map result is store in a HashMap to be used in JSP to create hidden fields to submit.
Field Summary | |
---|---|
protected static int |
APPEND_FALSE
The false value for the append attribute. |
protected static int |
APPEND_IGNORE
The ignore value for the append attribute. |
protected static int |
APPEND_TRUE
The true value for the append attribute. |
static java.lang.String |
Asterisk
|
static java.lang.String |
ByReference
The String byReference |
static java.lang.String |
ConversioType
The String convType |
(package private) Vector |
elements
|
static java.lang.String |
From
The String from |
static java.lang.String |
FromExpression
|
(package private) Tag |
myTag
|
(package private) java.util.HashMap |
resultMap
|
Constructor Summary | |
---|---|
RemoteDataMapper(Tag tag,
Vector elements1)
|
Method Summary | |
---|---|
protected void |
deepMapSingleIndexedCollectionElements(DataElement fromDataElement,
DataElement toDataElement,
java.lang.String converType,
boolean byReference,
int append)
|
protected void |
deepMapSingleKeyedCollectionElements(DataElement fromDataElement,
DataElement toDataElement,
java.lang.String converType,
boolean byReference,
int append)
|
java.util.HashMap |
getResultMap()
|
void |
mapContents(Context inputContext,
Context outputContext)
Maps the contents of a context into another context. |
protected void |
mapContextToContext(Context inputContext,
Context outputContext,
boolean byReference,
java.lang.String converType,
int append)
The alternative for this algorithm is to create two dummy contexts. |
protected void |
mapContextToKColl(Context inputContext,
Context outputContext,
java.lang.String toDataField,
boolean byReference,
java.lang.String converType,
int append)
|
protected void |
mapKCollToContext(Context inputContext,
Context outputContext,
java.lang.String fromDataField,
boolean byReference,
java.lang.String converType,
int append)
|
protected void |
mapSingleElement(DataElement fromDataElement,
DataElement toDataElement,
java.lang.String converType,
boolean byReference,
int append)
Maps the contexts of one operation into the context of another operation. |
protected void |
mapSingleElements(DataElement fromDataElement,
DataElement toDataElement,
java.lang.String converType,
boolean byReference,
int append)
|
protected void |
mapSingleTag(Context inputContext,
Context outputContext,
java.lang.String fromDataField,
java.lang.String toDataField,
boolean byReference,
java.lang.String converType,
int append)
Process mapping according to desired parameters. |
protected void |
mapSingleTag(Context inputContext,
Context outputContext,
Tag element)
Process mapping described in single tag descriptions. |
static void |
preProcessForExpression(Tag outputFmtTag,
KeyedCollection kc)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FromExpression
Tag myTag
Vector elements
java.util.HashMap resultMap
public static final java.lang.String Asterisk
protected static final int APPEND_IGNORE
protected static final int APPEND_TRUE
protected static final int APPEND_FALSE
public static final java.lang.String From
public static final java.lang.String ConversioType
public static final java.lang.String ByReference
Constructor Detail |
---|
public RemoteDataMapper(Tag tag, Vector elements1)
Method Detail |
---|
public void mapContents(Context inputContext, Context outputContext) throws DSEInvalidArgumentException, DSEInvalidClassException, DSEInvalidRequestException
inputContext
- com.ibm.btt.base.ContextoutputContext
- com.ibm.btt.base.Context
DSEInvalidArgumentException
DSEInvalidClassException
DSEInvalidRequestException
protected void mapSingleTag(Context inputContext, Context outputContext, Tag element) throws DSEInvalidArgumentException, DSEInvalidRequestException
inputContext
- input contextoutputContext
- output contextelement
- tag element read from XML snippet
DSEInvalidArgumentException
DSEInvalidRequestException
protected void mapSingleTag(Context inputContext, Context outputContext, java.lang.String fromDataField, java.lang.String toDataField, boolean byReference, java.lang.String converType, int append) throws DSEInvalidArgumentException, DSEInvalidRequestException
inputContext
- input contextoutputContext
- output contextfromDataField
- from attribute valuetoDataField
- to attribute valuebyReference
- if mapping by referenceconverType
- convert typeappend
- append type
DSEInvalidArgumentException
DSEInvalidRequestException
protected void mapSingleElements(DataElement fromDataElement, DataElement toDataElement, java.lang.String converType, boolean byReference, int append) throws DSEInvalidArgumentException, DSEInvalidRequestException
DSEInvalidArgumentException
DSEInvalidRequestException
protected void deepMapSingleKeyedCollectionElements(DataElement fromDataElement, DataElement toDataElement, java.lang.String converType, boolean byReference, int append) throws DSEInvalidArgumentException, DSEInvalidRequestException
DSEInvalidArgumentException
DSEInvalidRequestException
protected void deepMapSingleIndexedCollectionElements(DataElement fromDataElement, DataElement toDataElement, java.lang.String converType, boolean byReference, int append) throws DSEInvalidRequestException, DSEInvalidArgumentException
DSEInvalidRequestException
DSEInvalidArgumentException
protected void mapSingleElement(DataElement fromDataElement, DataElement toDataElement, java.lang.String converType, boolean byReference, int append) throws DSEInvalidArgumentException, DSEInvalidRequestException
inputOperation
- com.ibm.btt.base.OperationoutputOperation
- com.ibm.btt.base.Operation
DSEInvalidArgumentException
DSEInvalidRequestException
public java.util.HashMap getResultMap()
protected void mapContextToContext(Context inputContext, Context outputContext, boolean byReference, java.lang.String converType, int append) throws DSEInvalidRequestException, DSEInvalidArgumentException
DSEInvalidRequestException
DSEInvalidArgumentException
protected void mapContextToKColl(Context inputContext, Context outputContext, java.lang.String toDataField, boolean byReference, java.lang.String converType, int append) throws DSEInvalidRequestException, DSEInvalidArgumentException
protected void mapKCollToContext(Context inputContext, Context outputContext, java.lang.String fromDataField, boolean byReference, java.lang.String converType, int append) throws DSEInvalidRequestException, DSEInvalidArgumentException
DSEInvalidRequestException
DSEInvalidArgumentException
mapContextToKColl
public static void preProcessForExpression(Tag outputFmtTag, KeyedCollection kc)
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |