xdoclet.modules.jdo

Class JdoDocletTask

Implemented Interfaces:
DynamicConfigurator

public class JdoDocletTask
extends xdoclet.DocletTask

This task that executes various JDO-specific sub-tasks.
Version:
$Revision: 1.5 $
Authors:
Ludovic Claude (ludovicc@users.sourceforge.net)
Marco Schulze (nlmarco@users.sourceforge.net) - added JDO 2.0 support (mainly changes in *.xdt)
ant.element
name = "jdodoclet" display-name = "JDO Task"
created
June 11, 20012

Nested Class Summary

static class
JdoDocletTask.JdoSpecVersion

Field Summary

Fields inherited from class xdoclet.DocletTask

XDOCLET_VERSION

Method Summary

String
getJdoSpec()
Gets the JdoSpec attribute of the JdoDocletTask object
void
setJdoSpec(JdoDocletTask.JdoSpecVersion jdoSpec)
Sets the jdo spec to use.
protected void
validateOptions()

Methods inherited from class xdoclet.DocletTask

addConfigParam, addFileset, addPackageSubstitution, addSubTask, addTemplate, addXmlTemplate, checkClass, createDynamicElement, getAddedTags, getConfigParams, getConfigParams, getConfigParamsAsMap, getDestDir, getExcludedTags, getMergeDir, getPackageSubstitutions, getSubTaskName, getSubTasks, isForce, isVerbose, setAddedTags, setDestDir, setDynamicAttribute, setExcludePackageNames, setExcludedTags, setForce, setMergeDir, setPackageNames, setPackageSubstitutions, setVerbose, start, validateOptions, validateSubTasks

Method Details

getJdoSpec

public String getJdoSpec()
Gets the JdoSpec attribute of the JdoDocletTask object
Returns:
The JdoSpec value

setJdoSpec

public void setJdoSpec(JdoDocletTask.JdoSpecVersion jdoSpec)
Sets the jdo spec to use. Valid values are "1.0" and "2.0". Default is "1.0"
Parameters:
jdoSpec -

validateOptions

protected void validateOptions()
            throws BuildException
Overrides:
validateOptions in interface xdoclet.DocletTask