Composite format element
Every composite format element is a subclass of com.ibm.btt.format.CompositeFormat . The classes listed below are all in package com.ibm.btt.format.impl .
RecordFormat
(Format/unformat a composite of data fields.)
<record> <fString dataName="name"/> <fInteger dataName="age"/> </record>
Attributes
N/A
IndexedFormat
(Format/unformat an indexed composite of data fields. For example java.util.List)
<indexed dataName="ilist" elementType="java.lang.String"> <fString dataName="CURSOR"/> <fHexDelim hexDelimCharStr="FE" /> </indexted>
Attributes
times
The size of indexed composite data. It can be a int value or “*”
elementType
If the structrued data is java object, you must specify the type of element in the list.
XMLFormat
(Format/unformat a XML structured string)
<fmtDef id="stockFmt"> <fXML dataName="stockCtxData"> <fString dataName="code" /> <fString dataName="price" /> </fXML> </fmtDef>
Attributes
N/A
JSONFormat
(Format/unformat JSON structured string)
<fJSON id="JSONChannelFormatter"> <record dataName="json_request"> <fString dataName="action" /> <fString dataName="data_formatter" /> <fString dataName="response_formatter" /> <fString dataName="data" escape="true" /> </record> </fJSON>
Attributes
N/A
Go up to
This site works best with JavaScript enabled