|
TFORMer SDK - JAVA
7.5
|
Provides access to JobDataRecordSet (a set of in-memory Record objects which serves as JobData for a Job). More...
Classes | |
| class | Record |
| Provides access to a Record. More... | |
Public Member Functions | |
| JobDataRecordSet () | |
| Constructor for JobDataRecordSet. More... | |
| void | add (Record record) |
| Adds the Record. More... | |
| Iterator | getRecords () |
| Gets an Record iterator. More... | |
| boolean | isHandleEscapeSequences () |
| Gets/Sets a flag indicating whether escape sequences in DataField values like \n or \x40 should be translated by TFORMer SDK. More... | |
| boolean | isReuseValues () |
| Gets a flag indicating whether DataField-values should be reused in consecutive records. More... | |
| void | setHandleEscapeSequences (boolean bHandleEscapeSequences) |
| Sets a flag indicating whether escape sequences like \n or \x40 should be translated by TFORMer. More... | |
| void | setReuseValues (boolean bReuseValues) |
| Sets a flag indicating whether DataField values should be reused in consecutive Records. More... | |
Provides access to JobDataRecordSet (a set of in-memory Record objects which serves as JobData for a Job).
The JobDataRecordSet is the preferred method to pass data to TFORMer SDK from within program code. Create and fill a JobDataRecordSet and pass it to the Job using JobData.
The JobDataRecordSet represents an in-memory list of Records. Each Record holds a collection of pairs of strings. The first member of such a string-pair denotes the name of the DataField, the second member denotes the value of the DataField.
Although not required it is good practice to set all DataFields used in the FormLayout for each Record. If a DataField which is used in the FormLayout is not present in the JobData its value depends on JobData.setReuseValues.
By default each Record is used for printing exactly once. This behavior can be changed with setNumberOfCopies.
For a general description see JobData.
| JobDataRecordSet | ( | ) |
Constructor for JobDataRecordSet.
Initializes a new instance of the JobDataRecordSet class.
| void add | ( | Record | record | ) |
Adds the Record.
| record | The record to be added to the recordset |
| Iterator getRecords | ( | ) |
Gets an Record iterator.
|
inherited |
Gets/Sets a flag indicating whether escape sequences in DataField values like \n or \x40 should be translated by TFORMer SDK.
true if escape sequences in DataField values are translated
|
inherited |
Gets a flag indicating whether DataField-values should be reused in consecutive records.
false if DataField-values are cleared between records
|
inherited |
Sets a flag indicating whether escape sequences like \n or \x40 should be translated by TFORMer.
| bHandleEscapeSequences | true if escape sequences in DataField-values should be translated |
| © 2006-2017 - all rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
| Generated on Fri Nov 3 2017 07:59:14 for TFORMer SDK - JAVA with doxygen 1.8.9.1 |