ClassSample definition
|
Attributes
|
---|---|
FormatDefine
(used as a root format element in the format definition)
<format id="PersonFormat">
<record> <fString dataName="name" encoding="cp937"/> <selfLength/> <fInteger dataName="age" byteOrdering="host"/> <selfLength/> </record> </format> |
id:
a String that represents the id of the format definition.
|
ReferenceFormat
(handles the reference relationship between format definitions)
<format id="AnotherFormat">
<record> <fString dataName="field1" encoding="cp937"/> <selfLength/> <refFmt dataName="field2" refId="PersonFormat"/> <selfLength/> </record> </format> |
refId:
a String that represents the id of the referenced format element.
|