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, toString
public 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()
GeneratedFile
getFormattedContent
in class GeneratedFile
public String getFileName()
GeneratedFile
getFileName
in class GeneratedFile
public String getTargetPackage()
GeneratedFile
getTargetPackage
in class GeneratedFile
public boolean isMergeable()
isMergeable
in class GeneratedFile
Copyright © 2010–2018 MyBatis.org. All rights reserved.