Class | Attributes | Sample definition |
---|---|---|
RecordFormat (Format/unformat a composite of data fields.) |
N/A | <record> <fString dataName="name"/> <fInteger dataName="age"/> </record> |
IndexedFormat (Format/unformat an indexed composite of data fields. For example java.util.List) |
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. | <indexed dataName="ilist" elementType="java.lang.String"> <fString dataName="CURSOR"/> <fHexDelim hexDelimCharStr="FE" /> </indexted> |
XMLFormat (Format/unformat a XML structured string) |
N/A | <fmtDef id="stockFmt"> <fXML dataName="stockCtxData"> <fString dataName="code" /> <fString dataName="price" /> </fXML> </fmtDef> |
JSONFormat (Format/unformat JSON structured string) |
N/A | <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> |