|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
xjavadoc.ant.XJavadocTask
This class should be subclassed to be used for XDocletImpl, revXDoclet etc.
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 | |
XJavadocTask()
|
Method Summary | |
void |
addFileset(org.apache.tools.ant.types.FileSet set)
Ant's <fileset> definition. |
Object |
createIgnoredtag()
Ignores one tag |
void |
execute()
Implementation of Ant's Task.execute() . |
protected String |
getClasspath()
Returns the classpath |
protected XJavaDoc |
getXJavaDoc()
|
void |
setDocencoding(String enc)
set generated file charset |
void |
setEncoding(String enc)
set source file charset |
void |
setIgnoredtags(String tags)
Sets the tags to ignore if validation is true. |
void |
setValidating(boolean flag)
Sets whether or not tags will be validated. |
protected abstract void |
start()
Implement this method and play with _xJavaDoc |
protected void |
validateOptions()
Validate a Xdoclet task before running it. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
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 XJavadocTask()
Method Detail |
protected XJavaDoc getXJavaDoc()
public void setIgnoredtags(String tags)
tags
- tags that should be ignored when doing validation.public void setValidating(boolean flag)
flag
- validate?public void setEncoding(String enc)
enc
- the encodingpublic void setDocencoding(String enc)
enc
- the encodingpublic final void execute() throws org.apache.tools.ant.BuildException
Task.execute()
.
org.apache.tools.ant.BuildException
- Ant's way of reporting build exceptionpublic Object createIgnoredtag()
public void addFileset(org.apache.tools.ant.types.FileSet set)
set
- a fileset to addprotected String getClasspath()
protected abstract void start() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- Ant's way of reporting exceptionprotected void validateOptions() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- in case the validation fails.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |