de.armax.ax.devtools.generator
Class AXgenGenerate

java.lang.Object
  extended byde.armax.ax.devtools.generator.AXgen.AXgenSubTask
      extended byde.armax.ax.devtools.generator.AXgenGenerate

public class AXgenGenerate
extends AXgen.AXgenSubTask

Nested element for ant task AXgen that actally performs the generation.

See the documentation for the attribute getters and setters for details on allowed and required attributes for this task

Author:
Peter Wieland, ARMAX mindware GmbH

Constructor Summary
AXgenGenerate(AXgen parent)
          Constructs a new instance to be nested in the given AXgen instance
AXgenGenerate(AXgen parent, AXgenerateConfig configuration)
           
 
Method Summary
 AXelementSelector createElements()
           
 void execute(AXmodel model)
          Executes the subtask on the given model.
 void setAbstract(java.lang.String abstractString)
           
 void setDestinationFile(java.lang.String destinationFile)
           
 void setDestinationPath(java.lang.String destinationPath)
           
 void setElementTypes(java.lang.String elementTypes)
           
 void setEndTemplateFile(java.lang.String endTemplateFile)
           
 void setHelperClass(java.lang.String helperClass)
           
 void setInstantiable(java.lang.String instantiableString)
           
 void setRootPackageName(java.lang.String rootPackageName)
           
 void setStartTemplateFile(java.lang.String startTemplateFile)
           
 void setTemplateFile(java.lang.String templateFile)
           
 
Methods inherited from class de.armax.ax.devtools.generator.AXgen.AXgenSubTask
getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AXgenGenerate

public AXgenGenerate(AXgen parent)

Constructs a new instance to be nested in the given AXgen instance


AXgenGenerate

public AXgenGenerate(AXgen parent,
                     AXgenerateConfig configuration)
Method Detail

setTemplateFile

public void setTemplateFile(java.lang.String templateFile)

setStartTemplateFile

public void setStartTemplateFile(java.lang.String startTemplateFile)

setEndTemplateFile

public void setEndTemplateFile(java.lang.String endTemplateFile)

setDestinationPath

public void setDestinationPath(java.lang.String destinationPath)

setDestinationFile

public void setDestinationFile(java.lang.String destinationFile)

setElementTypes

public void setElementTypes(java.lang.String elementTypes)

setInstantiable

public void setInstantiable(java.lang.String instantiableString)

setAbstract

public void setAbstract(java.lang.String abstractString)

setHelperClass

public void setHelperClass(java.lang.String helperClass)

setRootPackageName

public void setRootPackageName(java.lang.String rootPackageName)

createElements

public AXelementSelector createElements()

execute

public void execute(AXmodel model)
             throws org.apache.tools.ant.BuildException

Executes the subtask on the given model.

Specified by:
execute in class AXgen.AXgenSubTask
Throws:
org.apache.tools.ant.BuildException


Copyright © 2003 ARMAX mindware GmbH. All Rights Reserved.