| java.lang.Object com.salmonllc.xml.XMLTransporter
XMLTransporter | public class XMLTransporter (Code) | | XML Transporter is used to transport data to and from data store as XML documents based on datastore.dtd file.
Datastore.dtd file is a representation of java.sql.ResultSet class.
|
Constructor Summary | |
public | XMLTransporter() XMLTransporter constructor comment. |
Method Summary | |
public static String | getComments() Insert the method's description here. | public static int | mapDataType(String strDataType) | public static void | setComments(String sComments) Insert the method's description here. | public static void | xmlExport(java.io.PrintWriter pw, DataStore _ds) This method is used to export the datastore as a XML file. | public static void | xmlExport(String xmlFileName, DataStore _ds) Method to export datastore as a XML file. | public static void | xmlExportDataASMetaData(java.io.PrintWriter pw, DataStore _ds) This methid used to export the data from datastore as Metadata for other datastores. | public static void | xmlExportResultSet(java.io.PrintWriter pw, DataStore _ds) This method is used to export the datastore as a XML file. | public static void | xmlExportResultSetMetaData(java.io.PrintWriter pw, DataStore _ds) This method is used to export the datastore as a XML file. | public static DataStore | xmlImport(String xmlFileName, DataStore _ds) xmlImport imports the XML file based on datastore.dtd to specified Datastore. | public static DataStore | xmlImportMetaDataAsData(String xmlFileName, DataStore _ds) | public static DataStore | xmlImportMetaDataAsData(String xmlFileName, DataStore _ds, String tablename, boolean toUpdate) |
XMLTransporter | public XMLTransporter()(Code) | | XMLTransporter constructor comment.
|
getComments | public static String getComments()(Code) | | Insert the method's description here.
Creation date: (7/19/2002 3:07:02 PM)
java.lang.String |
mapDataType | public static int mapDataType(String strDataType)(Code) | | Creation date: (8/1/01 11:09:17 AM)
int Parameters: strDataType - java.lang.String |
setComments | public static void setComments(String sComments)(Code) | | Insert the method's description here.
Creation date: (7/19/2002 3:07:02 PM)
java.lang.String |
xmlExport | public static void xmlExport(java.io.PrintWriter pw, DataStore _ds) throws java.sql.SQLException(Code) | | This method is used to export the datastore as a XML file. This uses datastore.dtd file as XMl schema.
Creation date: (8/7/01 5:11:31 PM)
Parameters: pw - - This is the printwriter where the XML file should be exported Parameters: _ds - - Datastore to export as XML. |
xmlExport | public static void xmlExport(String xmlFileName, DataStore _ds) throws java.sql.SQLException(Code) | | Method to export datastore as a XML file.
Creation date: (8/7/01 5:11:31 PM)
Parameters: xmlFileName - java.lang.String |
xmlExportDataASMetaData | public static void xmlExportDataASMetaData(java.io.PrintWriter pw, DataStore _ds) throws java.sql.SQLException(Code) | | This methid used to export the data from datastore as Metadata for other datastores.
Creation date: (8/7/01 5:11:31 PM)
Parameters: xmlFileName - java.lang.String |
xmlExportResultSet | public static void xmlExportResultSet(java.io.PrintWriter pw, DataStore _ds) throws java.sql.SQLException(Code) | | This method is used to export the datastore as a XML file. This uses datastore.dtd file as XMl schema.
Creation date: (8/7/01 5:11:31 PM)
Parameters: pw - - This is the printwriter where the XML file should be exported Parameters: _ds - - Datastore to export as XML. |
xmlExportResultSetMetaData | public static void xmlExportResultSetMetaData(java.io.PrintWriter pw, DataStore _ds) throws java.sql.SQLException(Code) | | This method is used to export the datastore as a XML file. This uses datastore.dtd file as XMl schema.
Creation date: (8/7/01 5:11:31 PM)
Parameters: pw - - This is the printwriter where the XML file should be exported Parameters: _ds - - Datastore to export as XML. |
xmlImport | public static DataStore xmlImport(String xmlFileName, DataStore _ds)(Code) | | xmlImport imports the XML file based on datastore.dtd to specified Datastore.
Creation date: (8/7/01 5:11:31 PM)
Parameters: xmlFileName - java.lang.String Parameters: _ds - |
xmlImportMetaDataAsData | public static DataStore xmlImportMetaDataAsData(String xmlFileName, DataStore _ds)(Code) | | This methid used to import the metadata to a datastore
Creation date: (8/7/01 5:11:31 PM)
Parameters: xmlFileName - java.lang.String Parameters: _ds - java.lang.String |
xmlImportMetaDataAsData | public static DataStore xmlImportMetaDataAsData(String xmlFileName, DataStore _ds, String tablename, boolean toUpdate)(Code) | | This methid used to import the metadata to a datastore
Creation date: (8/7/01 5:11:31 PM)
Parameters: xmlFileName - java.lang.String Parameters: _ds - java.lang.String |
|
|