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:
- java.lang.Cloneable
 - Direct Known Subclasses:
- Javadoc.DocletInfo
 - Enclosing class:
- Javadoc
 
 public static class Javadoc.ExtensionInfo extends ProjectComponent 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.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExtensionInfo()
 - 
Method SummaryModifier and Type Method Description PathcreatePath()Create an empty nested path to be configured by Ant with the classpath for the extension.java.lang.StringgetName()Get the name of the extension.PathgetPath()Get the extension's path.voidsetName(java.lang.String name)Set the name of the extensionvoidsetPath(Path path)Set the path to use when loading the component.voidsetPathRef(Reference r)Adds a reference to a CLASSPATH defined elsewhere.- 
Methods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Method Detail- 
setNamepublic void setName(java.lang.String name) Set the name of the extension- Parameters:
- name- the extension's name.
 
 - 
getNamepublic java.lang.String getName() Get the name of the extension.- Returns:
- the extension's name.
 
 - 
setPathpublic void setPath(Path path) Set the path to use when loading the component.- Parameters:
- path- a Path instance containing the classpath to use.
 
 - 
getPathpublic Path getPath() Get the extension's path.- Returns:
- the path to be used to load the extension.
 May be null
 
 - 
createPathpublic Path 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.
 
 - 
setPathRefpublic void setPathRef(Reference r) Adds a reference to a CLASSPATH defined elsewhere.- Parameters:
- r- the reference containing the path.
 
 
- 
 
-