org.mybatis.generator.internal
Class XmlFileMergerJaxp

java.lang.Object
  extended by org.mybatis.generator.internal.XmlFileMergerJaxp

public class XmlFileMergerJaxp
extends Object

This class handles the task of merging changes into an existing XML file.

Author:
Jeff Butler

Method Summary
static String getMergedSource(GeneratedXmlFile generatedXmlFile, File existingFile)
           
static String getMergedSource(InputSource newFile, InputSource existingFile, String existingFileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMergedSource

public static String getMergedSource(GeneratedXmlFile generatedXmlFile,
                                     File existingFile)
                              throws ShellException
Throws:
ShellException

getMergedSource

public static String getMergedSource(InputSource newFile,
                                     InputSource existingFile,
                                     String existingFileName)
                              throws IOException,
                                     SAXException,
                                     ParserConfigurationException,
                                     ShellException
Throws:
IOException
SAXException
ParserConfigurationException
ShellException


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.