Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ibatis.db.sqlmap.upgrade
Class SqlMapXmlConverter  view SqlMapXmlConverter download SqlMapXmlConverter.java

java.lang.Object
  extended bycom.ibatis.db.sqlmap.upgrade.SqlMapXmlConverter
All Implemented Interfaces:
com.ibatis.sqlmap.engine.builder.xml.XmlConverter

public class SqlMapXmlConverter
extends java.lang.Object
implements com.ibatis.sqlmap.engine.builder.xml.XmlConverter


Constructor Summary
SqlMapXmlConverter()
           
 
Method Summary
 void convertFile(java.io.File fromFile, java.io.File toFile)
           
 void convertFile(java.lang.String fromFileName, java.lang.String toFileName)
           
 java.io.Reader convertXml(java.io.Reader reader)
          Get a Reader based on another Reader
 void convertXml(java.io.Reader reader, java.io.Writer writer)
          Convert an XML file into another XML file
protected  void transformXml(java.io.Reader xslReader, java.io.Reader xmlReader, java.io.Writer xmlWriter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlMapXmlConverter

public SqlMapXmlConverter()
Method Detail

convertXml

public void convertXml(java.io.Reader reader,
                       java.io.Writer writer)
Description copied from interface: com.ibatis.sqlmap.engine.builder.xml.XmlConverter
Convert an XML file into another XML file

Specified by:
convertXml in interface com.ibatis.sqlmap.engine.builder.xml.XmlConverter

convertXml

public java.io.Reader convertXml(java.io.Reader reader)
Description copied from interface: com.ibatis.sqlmap.engine.builder.xml.XmlConverter
Get a Reader based on another Reader

Specified by:
convertXml in interface com.ibatis.sqlmap.engine.builder.xml.XmlConverter

convertFile

public void convertFile(java.lang.String fromFileName,
                        java.lang.String toFileName)
                 throws java.io.IOException

convertFile

public void convertFile(java.io.File fromFile,
                        java.io.File toFile)
                 throws java.io.IOException

transformXml

protected void transformXml(java.io.Reader xslReader,
                            java.io.Reader xmlReader,
                            java.io.Writer xmlWriter)
                     throws javax.xml.transform.TransformerException