public class GeneratedXmlFile extends GeneratedFile
targetProject| 构造器和说明 |
|---|
GeneratedXmlFile(Document document,
String fileName,
String targetPackage,
String targetProject,
boolean isMergeable,
XmlFormatter xmlFormatter)
Instantiates a new generated xml file.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFileName()
Gets the file name.
|
String |
getFormattedContent()
This method returns the entire contents of the generated file.
|
String |
getTargetPackage()
Gets the target package.
|
boolean |
isMergeable()
Checks if is mergeable.
|
getTargetProject, toStringpublic GeneratedXmlFile(Document document, String fileName, String targetPackage, String targetProject, boolean isMergeable, XmlFormatter xmlFormatter)
document - the documentfileName - the file nametargetPackage - the target packagetargetProject - the target projectisMergeable - true if the file can be merged by the built in XML file merger.xmlFormatter - the xml formatterpublic String getFormattedContent()
GeneratedFilegetFormattedContent 在类中 GeneratedFilepublic String getFileName()
getFileName 在类中 GeneratedFilepublic String getTargetPackage()
getTargetPackage 在类中 GeneratedFilepublic boolean isMergeable()
GeneratedFileisMergeable 在类中 GeneratedFileCopyright © 2006–2016 MyBatis.org. All rights reserved.