The following set of tables show the tags and tag attributes used
to externalize decorator objects in the toolkit Formatters definition file.
Table 1. <nullCheck> tag attributes (CheckNullDecorator)Attribute |
Description |
None |
N/A |
Table 2. <compress> tag attributes (Compressor)Attribute |
Description |
None |
N/A |
Table 3. <codeSetTrans> tag attributes (CodeSetTranslator)Attribute |
Description |
to |
The value of the code page. The default value is "Cp037". |
Table 4. <delim> tag attributes (Delimiter)Attribute |
Description |
delimChar |
The character to use as the delimiter. The default value is "+". |
Table 5. <fixedLength> tag attributes (FixedLength)Attribute |
Description |
length |
The length of the string after the decoration is applied. |
justify |
The justification to be applied to the string: - right
- left (default)
- center
|
padChar |
The character to use to pad the string so that it has the specified
length. |
noEmpty |
A boolean that indicates whether to return the pad character when the
resulting string is empty after applying the decorator. The default value
is no. |
Table 6. <id> tag attributes (Identifier)Attribute |
Description |
idChar |
The identifier for the element. |
Table 7. <maxLength> tag attributes (MaximumLength)Attribute |
Description |
length |
The maximum length of the element. |
Table 8. <selfLength> tag attributes (SelfLength)Attribute |
Description |
size |
The size of the element. |
byteOrdering |
The byte ordering. The valid values are pc (for little-endian) and
host (for big-endian). The default value is pc. |
lengthIncluded |
A boolean that indicates whether the length is included in field length.
The default value is no. |
lengthRepresentation |
The representation of the length. The valid values are hexa (default)
and string. |