WrapOptions
Contains options for wrapping (line folding) in X12 EDI files. Wrapping controls how long lines are handled in the EDI output.
Contents
- wrapBy
-
Specifies the method used for wrapping lines in the EDI output. Valid values:
-
SEGMENT
: Wraps by segment. -
ONE_LINE
: Indicates that the entire content is on a single line.Note
When you specify
ONE_LINE
, do not provide either the line length nor the line terminator value. -
LINE_LENGTH
: Wraps by character count, as specified bylineLength
value.
Type: String
Valid Values:
SEGMENT | ONE_LINE | LINE_LENGTH
Required: Yes
-
- lineLength
-
Specifies the maximum length of a line before wrapping occurs. This value is used when
wrapBy
is set toLINE_LENGTH
.Type: Integer
Valid Range: Minimum value of 1.
Required: No
- lineTerminator
-
Specifies the character sequence used to terminate lines when wrapping. Valid values:
-
CRLF
: carriage return and line feed -
LF
: line feed) -
CR
: carriage return
Type: String
Valid Values:
CRLF | LF | CR
Required: No
-
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: