Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 3 Other Application Developments | > Chapter 12 XML Conversion Function |
The following figure shows the input and output objects of the XML conversion function.
The ResultSet object is an instance of the java.sql.ResultSet interface implementation class. The other objects are instances of classes provided by the XML conversion function.
The results table used as the input source of the conversion is the ResultSet object.
The XMLGenerator object uses the GeneratorMap object and the ResultSet object as input to create a DocumentFountain object, which is a collection of XML documents. The user extracts the desired XML documents from the DocumentFountain object.
Note that because a CSVResultSet object cannot be obtained directly from a CSV file, it is necessary to write an application that creates a CSVSource object. The ResultSet is obtained from this.
The input and output objects used when creating a ResultSet object from a CSV file is shown in the following figure.
The CSVResultSet object implements the java.sql.ResultSet interface. It can be used as input for XMLGenerator.
XMLGenerator can extract XML documents in a variety of formats according to specified mapping rules. It can also extract partial instead of complete XML documents, and split a single input results table into multiple sets of output XML documents.
XML documents can be extracted in the following output formats:
Data must be in the form of a file for Shunsaku to create data for searches.
Contents
Index
![]() ![]() |