Methods Summary |
---|
public java.lang.ClassLoader | getAntlibClassLoader()The current antlib classloader
return antlibClassLoader;
|
public java.lang.String | getURI()The URI for this definition.
return uri;
|
public void | setAntlibClassLoader(java.lang.ClassLoader classLoader)Set the class loader of the loading object
this.antlibClassLoader = classLoader;
|
public void | setURI(java.lang.String uri)The URI for this definition.
If the URI is "antlib:org.apache.tools.ant",
(this is the default uri)
the uri will be set to "".
URIs that start with "ant:" are reserved
and are not allowed in this context.
if (uri.equals(ProjectHelper.ANT_CORE_URI)) {
uri = "";
}
if (uri.startsWith("ant:")) {
throw new BuildException("Attempt to use a reserved URI " + uri);
}
this.uri = uri;
|