org.apache.tools.ant.taskdefs
Class Gjdoc.ExtensionInfo
- Gjdoc
public static class Gjdoc.ExtensionInfo
A project aware class used for Javadoc extensions which take a name
and a path such as doclet and taglet arguments.
Path | createPath() - Create an empty nested path to be configured by Ant with the
classpath for the extension.
|
String | getName() - Get the name of the extension.
|
Path | getPath() - Get the extension's path.
|
void | setName(String name) - Set the name of the extension
|
void | setPath(Path path) - Set the path to use when loading the component.
|
void | setPathRef(Reference r) - Adds a reference to a CLASSPATH defined elsewhere.
|
createPath
public Path createPath()
Create an empty nested path to be configured by Ant with the
classpath for the extension.
- a new Path instance to be configured.
getName
public String getName()
Get the name of the extension.
- the extension's name.
getPath
public Path getPath()
Get the extension's path.
- the path to be used to load the extension.
May be
null
setName
public void setName(String name)
Set the name of the extension
name
- the extension's name.
setPath
public void setPath(Path path)
Set the path to use when loading the component.
path
- a Path instance containing the classpath to use.
setPathRef
public void setPathRef(Reference r)
Adds a reference to a CLASSPATH defined elsewhere.
r
- the reference containing the path.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.