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()
Returns the entire contents of the generated file.
|
String |
getTargetPackage()
Gets the target package.
|
boolean |
isMergeable()
Checks if is mergeable.
|
void |
setMergeable(boolean isMergeable) |
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 GeneratedFilepublic void setMergeable(boolean isMergeable)
Copyright © 2006–2017 MyBatis.org. All rights reserved.