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

Appendix K XML Conversion Function APIs

This chapter describes the APIs provided by the XML conversion function.
These APIs are listed in the following tables.

[Table K-1 Interfaces Provided in APIs]

Package

Interface

Inheritance

Method

Function

com.fujitsu.xmlconverter

DocumentFountain

None

getXMLDocument

Obtains a single XML data object that is to be created.

hasXMLDocument

Checks whether any XML data created still exists.

setDestination

Sets the output destination for the XML data to be created when the output format is a stream, file or SAX.

setEncoding

Sets the encoding of the XML data to be created.

 

[Table K-2 Classes Provided in APIs]

Package

Class

Inheritance

Method

Function

com.fujitsu.xmlconverter

CSVSource

java.lang.Object

CSVSource

Creates an instance of CSVSource.

setEncoding

Sets the character encoding of data used in a CSV file.

setDelimiter

Sets the delimiter for data stored in a CSV file.

setQuote

Sets the quotation mark character for data used in a CSV file.

setNullCharacter

Sets the null character for data used in a CSV file.

setFirstRecordToColumn

Specifies whether to process the record in the first row of data in a CSV file as the column name.

setRandomMode

Specifies whether to change the method used to maintain data in the CSV ResultSet from sequential reading to memory loading.

getResultSet

Obtains ResultSet from the data contained in a CSV file.

setEnableEscapeChar

Specifies the method for entering delimiter characters, quotation marks, and the backslash (\) as data.

GeneratorMap

java.lang.Object

GeneratorMap

Creates an instance of GeneratorMap.

XMLGenerator

java.lang.Object

XMLGenerator

Creates an instance of XMLGenerator.

createDocumentFountain

Creates an instance of DocumentFountain.

XMLConverterException

  • java.lang.Object
  • java.lang.Throwable
  • java.lang.Exception

getCode

Obtains the error code.

getException

Obtains the internal exception.

getMessage

Obtains the error message.

CSVException

  • java.lang.Object
  • java.lang.Throwable
  • java.lang.Exception
  • com.fujitsu.xmlconverter.XMLConverterException

CSVException

Creates an instance of CSVException.

XMLGenException

  • java.lang.Object
  • java.lang.Throwable
  • java.lang.Exception
  • com.fujitsu.xmlconverter.XMLConverterException

XMLGenException

Creates an instance of XMLGenException.


DownK.1 DocumentFountain Interface
DownK.2 CSVSource Class
DownK.3 GeneratorMap Class
DownK.4 XMLGenerator Class
DownK.5 XMLConverterException Class
DownK.6 CSVException Class
DownK.7 XMLGenException Class
DownK.8 Error Codes Posted when XML Conversion Function APIs are Used

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006