|
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.base.FormatElement
com.ibm.btt.base.KeyedCollectionFormat
com.ibm.btt.base.RecordFormat
com.ibm.btt.base.DataMapperFormat
com.ibm.btt.base.DataMapperConverterFormat
public class DataMapperConverterFormat
The DataExternalizer class reads data elements. The definition file must be specified in btt.xml, in the path settings.files.data. The tags must be in settings.tags.data.
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 |
ByReference
The String byReference |
static java.lang.String |
ConversioType
The String convType |
static java.lang.String |
From
The String from |
Fields inherited from class com.ibm.btt.base.KeyedCollectionFormat |
---|
dataElementEmpty, elements |
Fields inherited from class com.ibm.btt.base.FormatElement |
---|
dataElementName, externalizer, name |
Constructor Summary | |
---|---|
DataMapperConverterFormat()
DataMapperConverterFormat constructor. |
|
DataMapperConverterFormat(java.lang.String aName)
DataMapperConverterFormat constructor. |
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.lang.Object |
initializeFrom(Tag aTag)
Initializes a RecordFormat from the Tag attributes. |
void |
mapContents(Context inputContext,
Context outputContext)
Maps the contents of a context into another context. |
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. |
Methods inherited from class com.ibm.btt.base.DataMapperFormat |
---|
toStrings |
Methods inherited from class com.ibm.btt.base.RecordFormat |
---|
extract, formatContext, formatKeyedCollection, obtainDataElement, obtainDataElement, toString, unformat, unformat, unformatContext, unformatKeyedCollection |
Methods inherited from class com.ibm.btt.base.KeyedCollectionFormat |
---|
add, addElementAt, addFirst, at, checkIndexes, format, format, getDataElementEmpty, getElements, getEnumeration, reinitialize, removeAll, removeAt, setElements, size, unformat, unformat |
Methods inherited from class com.ibm.btt.base.FormatElement |
---|
exceptionInfo, externalizer, getDataElementName, getExternalizer, getName, getTagName, isCacheable, isConstant, isItConstant, isNull, readExternal, readExternal, readObject, removeExternal, rootDecorated, setDataElementName, setExternalizer, setName, setSize, toTags, writeExternal, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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 DataMapperConverterFormat()
public DataMapperConverterFormat(java.lang.String aName) throws java.io.IOException
aName
- java.lang.String
java.io.IOException
- - The exception descriptionMethod Detail |
---|
public java.lang.Object initializeFrom(Tag aTag) throws java.io.IOException
initializeFrom
in class RecordFormat
aTag
- com.ibm.btt.base.Tag
java.io.IOException
public void mapContents(Context inputContext, Context outputContext) throws DSEInvalidArgumentException, DSEInvalidClassException, DSEInvalidRequestException
mapContents
in class DataMapperFormat
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
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |