|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task net.sf.fikin.ant.DocletTask net.sf.fikin.ant.VelocityDocletTask net.sf.fikin.ant.AntTasksDocHtmlDocletTask net.sf.fikin.ant.AntTasksDocTextDocletTask
public class AntTasksDocTextDocletTask
Recognized classes/tasks must qialify the following criteria:
org.apache.tools.ant.Task
@antTaskName
tag in their class comment, denoting the task name in Ant@antTaskParamRequired tag
in the method's comment
All setter methods are resolved automatically based on Ant specification for methods introspection
This task is based on VelocityDocletTask
. The Velocity file
ant-doc.html.vm used as text-page template is located in this
package folder and loaded via the classloader.
Example:
/**
* This is example class
* @antTaskName exampleTask
* /
public class Example extends Task {
/**
* setter method
* @antTaskParamRequired true
* /
public void setName(String name) { ... }
...
}
created on Sep 24, 2006
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
AntTasksDocTextDocletTask()
|
Method Summary | |
---|---|
protected java.lang.String |
getTemplateName()
get the template name |
Methods inherited from class net.sf.fikin.ant.AntTasksDocHtmlDocletTask |
---|
getPackageName, init, setTemplate |
Methods inherited from class net.sf.fikin.ant.VelocityDocletTask |
---|
check, setFile, setName, setVelocityLog |
Methods inherited from class net.sf.fikin.ant.DocletTask |
---|
addFileset, addPackage, addPackageset, addParam, createBootclasspath, createClasspath, createParam, createSourcepath, execute, init_javadoc, setBootclasspath, setBootClasspathRef, setClasspath, setClasspathRef, setExcludePackageNames, setExecutable, setFailonerror, setLinksource, setPackageList, setPackagenames, setSource, setSourcepath, setSourcepathRef, setVerbose |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntTasksDocTextDocletTask()
Method Detail |
---|
protected java.lang.String getTemplateName()
getTemplateName
in class AntTasksDocHtmlDocletTask
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |