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