org.apache.tools.ant.taskdefs
Class AntlibDefinition
public class AntlibDefinition
Base class for tasks that that can be used in antlibs.
For handling uri and class loading.
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
getAntlibClassLoader
public ClassLoader getAntlibClassLoader()
The current antlib classloader
- the antlib classloader for the definition, this
is null if the definition is not used in an antlib.
getURI
public String getURI()
The URI for this definition.
- The URI for this defintion.
setAntlibClassLoader
public void setAntlibClassLoader(ClassLoader classLoader)
Set the class loader of the loading object
classLoader
- a ClassLoader
value
setURI
public void setURI(String uri)
throws BuildException
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.
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.