JavaDoc


001    /**
002     * Copyright (c) 2003 Daffodil Software Ltd all rights reserved,
003     * Modifications Copyright (c) 2008 Regiscope Digital Imaging Co, LLC, All rights reserved.
004     * This program is free software; you can redistribute it and/or modify
005     * it under the terms of version 2 of the GNU General Public License as
006     * published by the Free Software Foundation.
007     * There are special exceptions to the terms and conditions of the GPL
008     * as it is applied to this software. See the GNU General Public License for more details.
009     *
010     * This program is distributed in the hope that it will be useful,
011     * but WITHOUT ANY WARRANTY; without even the implied warranty of
012     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
013     * GNU General Public License for more details.
014     *
015     * You should have received a copy of the GNU General Public License
016     * along with this program; if not, write to the Free Software
017     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
018     */
019    
020    package org.dbreplicator.replication.xml;
021    
022    import java.io.*;
023    import java.sql.*;
024    
025    import org.dbreplicator.replication.*;
026    import java.util.ArrayList;
027    
028    /**
029     * This interface is implemented by the class XMLWriter.
030     * This interface gives declaration of the method write , which is implemented
031     * in XML writer , this method is responsible for writing data in to  XML file
032     * as per there datatypes and special cases of Blob and Clob are also needed to
033     * be handled.
034     */
035    
036    public interface _XMLWriter
037    {
038    
039        public void write(ResultSet rs, int index,ArrayList encodedCols,String col) throws SQLException, IOException,
040            RepException;
041    }





























































Powered by Drupal - Theme by Danger4k