| Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]()
|
| Appendix K XML Conversion Function APIs | > K.4 XMLGenerator Class |
FunctionThis method creates an instance of DocumentFountain.
Syntax
public DocumentFountain createDocumentFountain( int anOutputType, /* (1) Output format */ java.sql.ResultSet aResultSet, /* (2) ResultSet object */ GeneratorMap aGeneratorMap /* (3) Mapping rule object */ ) throws XMLGenException; |
Return ValueReturns the generated DocumentFountain instance.
ParametersSpecify the output format for the XML documents.
|
Setting |
Meaning |
|---|---|
|
TYPE_STRING |
The output format is a string. |
|
TYPE_STREAM |
The output format is a stream. |
|
TYPE_FILE |
The output format is a file. |
|
TYPE_DOM |
The output format is DOM. |
|
TYPE_SAX |
The output format is SAX. |
Specify the ResultSet object.
Specify the mapping rule object.
Exceptions
XMLGenExceptionThis is output if an error occurs when a DocumentFountain instance is generated.
Refer to K.8 Error Codes Posted when XML Conversion Function APIs are Used for error code and error message details.
Contents
Index
![]()
|