net.sourceforge.crudo.gen.file
Class XmlSourceGen
java.lang.Object
net.sourceforge.crudo.gen.file.XmlSourceGen
- All Implemented Interfaces:
- CrudoConstants, IActionCommand
public class XmlSourceGen
- extends java.lang.Object
- implements IActionCommand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlSourceGen
public XmlSourceGen()
execute
public void execute(java.util.Map<java.lang.String,java.lang.Object> context)
throws java.lang.Exception
- Specified by:
execute
in interface IActionCommand
- Throws:
java.lang.Exception
baseFolderExists
protected boolean baseFolderExists()
sourceExists
protected boolean sourceExists()
functionFolderExists
protected boolean functionFolderExists()
createBaseFolder
public void createBaseFolder()
throws java.io.IOException
- Throws:
java.io.IOException
createSourceFile
public void createSourceFile()
throws java.lang.Exception
- Throws:
java.lang.Exception
createFunctionFolder
public void createFunctionFolder()
throws java.io.IOException
- Throws:
java.io.IOException
getBaseFolderName
public java.lang.String getBaseFolderName()
setBaseFolderName
public void setBaseFolderName(java.lang.String baseFolderName)
getFunctionName
public java.lang.String getFunctionName()
setFunctionName
public void setFunctionName(java.lang.String functionName)