xdoclet.modules.jdo
public class JdoXmlMetadataSubTask extends XmlSubTask
Modifier and Type | Class and Description |
---|---|
static class |
JdoXmlMetadataSubTask.GenerationOptionTypes |
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType
currentClassTag, currentFieldTag, currentMethodTag
Constructor and Description |
---|
JdoXmlMetadataSubTask()
Describe what the WebXmlSubTask constructor does
|
Modifier and Type | Method and Description |
---|---|
protected void |
engineStarted()
Describe what the method does
|
void |
execute()
Describe what the method does
|
protected void |
generateForPackage(xjavadoc.XPackage pkg)
Processed template for pkg and generates output file for pkg.
|
protected java.lang.String |
getGeneratedFileName(xjavadoc.XPackage pak)
Returns class name for the generated file.
|
java.lang.String |
getGeneration() |
java.lang.String |
getJdoSpec()
Gets the Jdospec attribute of the JdoXmlSubTask object
|
java.lang.String |
getProject() |
protected boolean |
isForceGenerationPerPackage() |
protected boolean |
isGenerationPerClass() |
protected boolean |
isGenerationPerPackage() |
protected void |
setForceGenerationPerPackage(boolean value) |
void |
setGeneration(JdoXmlMetadataSubTask.GenerationOptionTypes value) |
void |
setJdoSpec(JdoDocletTask.JdoSpecVersion jdoSpec)
Sets the Jdospec attribute of the JdoXmlSubTask object
|
void |
setProject(java.lang.String project) |
void |
startProcess()
Describe what the method does
|
protected void |
startProcessPerPackage() |
void |
validateOptions()
Called to validate configuration parameters.
|
copyAttributesFrom, engineFinished, getDtdURL, getPublicId, getSchema, getSchemaURL, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdURL, setPublicId, setSchema, setSchemaURL, setSystemId, setUseIds, setValidateXML, setXmlencoding
addOfType, addOfType, addPackageSubstitution, generateForClass, getAcceptAbstractClasses, getAcceptInterfaces, getDestinationFile, getEngine, getExtent, getGeneratedFileName, getGenerationManager, getHavingClassTag, getOfType, getPackageSubstitutions, getSubTaskClassName, getTemplateURL, init, isPackageSubstitutionInheritanceSupported, isPrefixWithPackageStructure, javaFile, matchesGenerationRules, processInnerClasses, setAcceptAbstractClasses, setAcceptInterfaces, setDestinationFile, setEngine, setExtent, setExtentValue, setGenerationManager, setHavingClassTag, setOfType, setPackageSubstitutionInheritanceSupported, setPackageSubstitutions, setPrefixWithPackageStructure, setSubTaskClassName, setTemplateFile, setTemplateURL, startEngine, startProcessForAll, startProcessPerClass
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName
getCurrentClass, getCurrentClassTag, getCurrentConstructor, getCurrentField, getCurrentFieldTag, getCurrentMethod, getCurrentMethodTag, getCurrentPackage, getCurrentTag, isDocletGenerated, popCurrentClass, pushCurrentClass, setCurrentClass, setCurrentClassTag, setCurrentConstructor, setCurrentField, setCurrentFieldTag, setCurrentMethod, setCurrentMethodTag, setCurrentPackage
public JdoXmlMetadataSubTask()
public java.lang.String getJdoSpec()
public java.lang.String getGeneration()
public java.lang.String getProject()
public void setProject(java.lang.String project)
public void setGeneration(JdoXmlMetadataSubTask.GenerationOptionTypes value)
public void setJdoSpec(JdoDocletTask.JdoSpecVersion jdoSpec)
jdoSpec
- The new Jdospec valuepublic void validateOptions() throws XDocletException
validateOptions
in class TemplateSubTask
XDocletException
- Description of Exceptionpublic void execute() throws XDocletException
execute
in class TemplateSubTask
XDocletException
public void startProcess() throws XDocletException
XmlSubTask
startProcess
in class XmlSubTask
XDocletException
- Describe the exceptionprotected boolean isForceGenerationPerPackage()
protected boolean isGenerationPerClass()
protected boolean isGenerationPerPackage()
protected java.lang.String getGeneratedFileName(xjavadoc.XPackage pak) throws XDocletException
pak
- XDocletException
- Description of Exceptionprotected void setForceGenerationPerPackage(boolean value)
protected void startProcessPerPackage() throws XDocletException
XDocletException
protected void generateForPackage(xjavadoc.XPackage pkg) throws XDocletException
pkg
- Description of ParameterXDocletException
- Description of Exceptionprotected void engineStarted() throws XDocletException
engineStarted
in class TemplateSubTask
XDocletException