org.apache.tools.ant.taskdefs
public abstract class DefBase extends AntlibDefinition
Since: Ant 1.6
| Method Summary | |
|---|---|
| Path | createClasspath()
Create the classpath to be used when searching for component being
defined |
| protected ClassLoader | createLoader()
create a classloader for this definition |
| Path | getClasspath() |
| String | getClasspathId()
Returns the class path id of the class path delegate. |
| String | getLoaderId()
Returns the loader id of the class path Delegate. |
| void | init() |
| boolean | isReverseLoader() |
| void | setClasspath(Path classpath)
Set the classpath to be used when searching for component being defined
|
| void | setClasspathRef(Reference r)
reference to a classpath to use when loading the files.
|
| void | setLoaderRef(Reference r)
Use the reference to locate the loader. |
| void | setReverseLoader(boolean reverseLoader) |
Returns: the classpath of the this definition
Returns: the classloader from the cpDelegate
Returns: the classpath for this definition
Returns: the class path id
Returns: the loader id
Since: Ant 1.6
See Also: init
Returns: the reverse loader attribute of the classpath delegate.
Parameters: classpath an Ant Path object containing the classpath.
Parameters: r the reference to the classpath
Parameters: r the reference to locate the loader.
Since: Ant 1.5
Deprecated: stop using this attribute
Parameters: reverseLoader if true a delegated loader will take precedence over the parent
UNKNOWN: ignore="true"