public class GeneratedXmlFile extends GeneratedFile
targetProject| Constructor and Description |
|---|
GeneratedXmlFile(Document document,
String fileName,
String targetPackage,
String targetProject,
boolean isMergeable,
XmlFormatter xmlFormatter)
Instantiates a new generated xml file.
|
| Modifier and Type | Method and Description |
|---|---|
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 in class GeneratedFilepublic String getFileName()
getFileName in class GeneratedFilepublic String getTargetPackage()
getTargetPackage in class GeneratedFilepublic boolean isMergeable()
GeneratedFileisMergeable in class GeneratedFileCopyright © 2006–2016 MyBatis.org. All rights reserved.