Package org.apache.tools.ant.taskdefs
Class Javadoc.ExtensionInfo
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.taskdefs.Javadoc.ExtensionInfo
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
Javadoc.DocletInfo
- Enclosing class:
Javadoc
A project aware class used for Javadoc extensions which take a name
and a path such as doclet and taglet arguments.
-
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate an empty nested path to be configured by Ant with the classpath for the extension.getName()
Get the name of the extension.getPath()
Get the extension's path.void
Set the name of the extensionvoid
Set the path to use when loading the component.void
Adds a reference to a CLASSPATH defined elsewhere.Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
ExtensionInfo
public ExtensionInfo()
-
-
Method Details
-
setName
Set the name of the extension- Parameters:
name
- the extension's name.
-
getName
-
setPath
Set the path to use when loading the component.- Parameters:
path
- a Path instance containing the classpath to use.
-
getPath
Get the extension's path.- Returns:
- the path to be used to load the extension.
May be
null
-
createPath
Create an empty nested path to be configured by Ant with the classpath for the extension.- Returns:
- a new Path instance to be configured.
-
setPathRef
Adds a reference to a CLASSPATH defined elsewhere.- Parameters:
r
- the reference containing the path.
-