Provides access to JobDataXml (a XML file that serves as JobData for a Job). More...
Public Member Functions | |
| String | getFilename () |
| Gets the name of the XML input file. | |
| String | getXsltFilename () |
| Gets the XSLT filename (optional). | |
| String | getXsltTfcFilename () |
| Gets the XSLT TFC filename (optional). | |
| JobDataXml (String filename) | |
| Initializes a new instance of the JobDataXml class. | |
| JobDataXml () | |
| Initializes a new instance of the JobDataXml class. | |
| void | setFilename (String sFilename) |
| Sets the name of the XML input file. | |
| void | setXsltFilename (String sXsltFilename) |
| Sets the XSLT filename (optional). | |
| void | setXsltTfcFilename (String sXsltTfcFilename) |
| Sets the XSLT TFC filename (optional). | |
Provides access to JobDataXml (a XML file that serves as JobData for a Job).
The JobDataXml enables TFORMer Runtime to use XML-files as a JobData for printing a Job.
The specified XML-file must comply to the formats recognized by TFORMer. The following XML formats can be used:
Assume a suitable XML-file is stored in C:/temp/Import.xml. The corresponding call to create the JobData and to assign it to a Job is as follows:
// create a Job instance Job job = new Job(); // create the data source JobData jobData = new JobDataXml("c:/temp/Import.xml"); job.setJobData(jobData); job.print ();
For a general description see JobData.
| JobDataXml | ( | String | filename | ) |
Initializes a new instance of the JobDataXml class.
| filename | The name of the XML input file. |
| String getFilename | ( | ) |
Gets the name of the XML input file.
| String getXsltFilename | ( | ) |
Gets the XSLT filename (optional).
| String getXsltTfcFilename | ( | ) |
Gets the XSLT TFC filename (optional).
| void setFilename | ( | String | sFilename | ) |
Sets the name of the XML input file.
| sFilename | The name of the XML input file. |
| void setXsltFilename | ( | String | sXsltFilename | ) |
Sets the XSLT filename (optional).
| sXsltFilename | The XSLT filename (optional). |
| void setXsltTfcFilename | ( | String | sXsltTfcFilename | ) |
Sets the XSLT TFC filename (optional).
A TFC file (TFORMer Command File) may be used to modify an existing FormLayout based on current input data. This feature will be improved in future versions. The current implementation should not be used.
| sXsltTfcFilename | The XSLT TFC filename (optional). null if not used. |
| © 2006-2010 All rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
| Generated on Wed Aug 17 13:20:40 2011 for TFORMer Runtime JAVA Developer Reference with doxygen 1.6.3 |