|
||||||||||
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
public class AntTasksDocHtmlDocletTask
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 commentAll 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 HTML-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 | |
---|---|
AntTasksDocHtmlDocletTask()
|
Method Summary | |
---|---|
protected java.lang.String |
getPackageName()
get the current's class package name |
protected java.lang.String |
getTemplateName()
get the template name |
void |
init()
set the template name |
void |
setTemplate(java.lang.String templateName)
Deprecated. |
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 AntTasksDocHtmlDocletTask()
Method Detail |
---|
public void setTemplate(java.lang.String templateName)
setTemplate
in class VelocityDocletTask
templateName
- public void init() throws org.apache.tools.ant.BuildException
init
in class VelocityDocletTask
org.apache.tools.ant.BuildException
protected java.lang.String getTemplateName()
protected java.lang.String getPackageName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |