|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectxdoclet.DocletSupport
xdoclet.SubTask
xdoclet.TemplateSubTask
xdoclet.XmlSubTask
xdoclet.modules.jdo.JdoXmlMetadataSubTask
public class JdoXmlMetadataSubTask
Generates the XML metadata for the JDO classes.
Nested Class Summary | |
---|---|
static class |
JdoXmlMetadataSubTask.GenerationOptionTypes
|
Nested classes/interfaces inherited from class xdoclet.TemplateSubTask |
---|
TemplateSubTask.ExtentTypes, TemplateSubTask.OfType |
Field Summary |
---|
Fields inherited from class xdoclet.DocletSupport |
---|
currentClassTag, currentFieldTag, currentMethodTag |
Constructor Summary | |
---|---|
JdoXmlMetadataSubTask()
Describe what the WebXmlSubTask constructor does |
Method Summary | |
---|---|
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. |
Methods inherited from class xdoclet.XmlSubTask |
---|
copyAttributesFrom, engineFinished, getDtdURL, getPublicId, getSchema, getSchemaURL, getSystemId, getUseIds, getXmlencoding, isValidateXML, setDtdURL, setPublicId, setSchema, setSchemaURL, setSystemId, setUseIds, setValidateXML, setXmlencoding |
Methods inherited from class xdoclet.SubTask |
---|
addConfigParam, getConfigParams, getConfigParamsAsMap, getContext, getDestDir, getMergeDir, getSubTaskName, getXJavaDoc, setDestDir, setMergeDir, setSubTaskName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdoXmlMetadataSubTask()
Method Detail |
---|
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 Parameter
XDocletException
- Description of Exceptionprotected void engineStarted() throws XDocletException
engineStarted
in class TemplateSubTask
XDocletException
|
http://xdoclet.sourceforge.net/ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |