org.apache.ibatis.abator.api
Class GeneratedXmlFile

java.lang.Object
  extended byorg.apache.ibatis.abator.api.GeneratedFile
      extended byorg.apache.ibatis.abator.api.GeneratedXmlFile

public class GeneratedXmlFile
extends GeneratedFile

Author:
Jeff Butler

Constructor Summary
GeneratedXmlFile()
           
 
Method Summary
 java.lang.String getContent()
          This method returns the entire contents of the generated file.
 java.lang.String getFileName()
          Get the file name (without any path).
 java.lang.String getTargetPackage()
          Get the target package for the file.
 void setContent(java.lang.String content)
           
 void setFileName(java.lang.String fileName)
           
 void setTargetPackage(java.lang.String targetPackage)
           
 
Methods inherited from class org.apache.ibatis.abator.api.GeneratedFile
getTargetProject, setTargetProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedXmlFile

public GeneratedXmlFile()
Method Detail

getContent

public java.lang.String getContent()
Description copied from class: GeneratedFile
This method returns the entire contents of the generated file. Clients can simply save the value returned from this method as the file contents. Subclasses such as @see org.apache.ibatis.abator.api.GeneratedJavaFile offer more fine grained access to file parts, but still implement this method in the event that the entire contents are desired.

Specified by:
getContent in class GeneratedFile
Returns:
Returns the content.

setContent

public void setContent(java.lang.String content)

getFileName

public java.lang.String getFileName()
Description copied from class: GeneratedFile
Get the file name (without any path). Clients should use this method to determine how to save the results.

Specified by:
getFileName in class GeneratedFile
Returns:
Returns the fileName.

setFileName

public void setFileName(java.lang.String fileName)
Parameters:
fileName - The fileName to set.

getTargetPackage

public java.lang.String getTargetPackage()
Description copied from class: GeneratedFile
Get the target package for the file. Clients should use this method to determine how to save the results.

Specified by:
getTargetPackage in class GeneratedFile
Returns:
Returns the targetPackage.

setTargetPackage

public void setTargetPackage(java.lang.String targetPackage)
Parameters:
targetPackage - The targetPackage to set.