Generates the XML metadata for the JDO classes.
engineStarted
protected void engineStarted()
throws xdoclet.XDocletException
Describe what the method does
- engineStarted in interface xdoclet.TemplateSubTask
xdoclet.XDocletException
-
execute
public void execute()
throws xdoclet.XDocletException
Describe what the method does
- execute in interface xdoclet.TemplateSubTask
xdoclet.XDocletException
-
generateForPackage
protected void generateForPackage(XPackage pkg)
throws xdoclet.XDocletException
Processed template for pkg and generates output file for pkg.
pkg
- Description of Parameter
xdoclet.XDocletException
- Description of Exception
getGeneratedFileName
protected String getGeneratedFileName(XPackage pak)
throws xdoclet.XDocletException
Returns class name for the generated file. {0} substituted by package name.
- The GeneratedClassName value
xdoclet.XDocletException
- Description of Exception
getGeneration
public String getGeneration()
getJdoSpec
public String getJdoSpec()
Gets the Jdospec attribute of the JdoXmlSubTask object
getProject
public String getProject()
isForceGenerationPerPackage
protected boolean isForceGenerationPerPackage()
isGenerationPerClass
protected boolean isGenerationPerClass()
- make isGenerationPerClass() in TemplateSubTask protected
isGenerationPerPackage
protected boolean isGenerationPerPackage()
setForceGenerationPerPackage
protected void setForceGenerationPerPackage(boolean value)
setJdoSpec
public void setJdoSpec(JdoSpecVersion jdoSpec)
Sets the Jdospec attribute of the JdoXmlSubTask object
jdoSpec
- The new Jdospec value
setProject
public void setProject(String project)
startProcess
public void startProcess()
throws xdoclet.XDocletException
- startProcess in interface xdoclet.XmlSubTask
startProcessPerPackage
protected void startProcessPerPackage()
throws xdoclet.XDocletException
validateOptions
public void validateOptions()
throws xdoclet.XDocletException
Called to validate configuration parameters.
- validateOptions in interface xdoclet.TemplateSubTask
xdoclet.XDocletException
- Description of Exception