Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Part 3 Other Application Developments> Chapter 12 XML Conversion Function

12.5 Designing Applications

The following figure shows the input and output objects of the XML conversion function.

[Figure 12-6 XML Conversion Function I/O Objects]

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.

[Figure 12-7 I/O Objects Used when Creating a ResultSet Object from a CSV File]

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.

Down12.5.1 List of APIs
Down12.5.2 Processing Procedure of Applications that Use the XML Conversion Function

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006