net.sf.fikin.ant
Class AntTasksDocTextDocletTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.sf.fikin.ant.DocletTask
              extended by net.sf.fikin.ant.VelocityDocletTask
                  extended by net.sf.fikin.ant.AntTasksDocHtmlDocletTask
                      extended by net.sf.fikin.ant.AntTasksDocTextDocletTask

public class AntTasksDocTextDocletTask
extends AntTasksDocHtmlDocletTask

Generate single-page TEXT documentation file for all Ant Tasks found in the source

Recognized classes/tasks must qialify the following criteria:

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

Since:
Version:
$Revision: 1.2 $
Author:
fiykov
Ant Task Name:
antTasksDocTextDoclet

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

AntTasksDocTextDocletTask

public AntTasksDocTextDocletTask()
Method Detail

getTemplateName

protected java.lang.String getTemplateName()
get the template name

Overrides:
getTemplateName in class AntTasksDocHtmlDocletTask
Returns:
template name


Copyright © 2003-2007 Nikolay Fiykov. All Rights Reserved.