public class GeneratedXmlFile extends GeneratedFile
targetProject| Constructor and Description |
|---|
GeneratedXmlFile(Document document,
String fileName,
String targetPackage,
String targetProject,
boolean isMergeable,
XmlFormatter xmlFormatter) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Get the file name (without any path).
|
String |
getFormattedContent()
This method returns the entire contents of the generated file.
|
String |
getTargetPackage()
Get the target package for the file.
|
boolean |
isMergeable() |
getTargetProject, toStringpublic GeneratedXmlFile(Document document, String fileName, String targetPackage, String targetProject, boolean isMergeable, XmlFormatter xmlFormatter)
document - fileName - targetPackage - targetProject - isMergeable - true if the file can be merged by the built in XML file
merger.public String getFormattedContent()
GeneratedFilegetFormattedContent in class GeneratedFilepublic String getFileName()
GeneratedFilegetFileName in class GeneratedFilepublic String getTargetPackage()
GeneratedFilegetTargetPackage in class GeneratedFilepublic boolean isMergeable()
isMergeable in class GeneratedFileCopyright © 2010–2016 MyBatis.org. All rights reserved.