Package org.apache.tools.ant.taskdefs
Class AntlibDefinition
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.AntlibDefinition
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe current antlib classloadergetURI()The URI for this definition.voidsetAntlibClassLoader(ClassLoader classLoader) Set the class loader of the loading objectvoidThe URI for this definition.Methods inherited from class org.apache.tools.ant.TaskbindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponentclone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
- 
Constructor Details- 
AntlibDefinitionpublic AntlibDefinition()
 
- 
- 
Method Details- 
setURIThe 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.- Parameters:
- uri- the namespace URI
- Throws:
- BuildException- if a reserved URI is used
 
- 
getURI
- 
setAntlibClassLoaderSet the class loader of the loading object- Parameters:
- classLoader- a- ClassLoadervalue
 
- 
getAntlibClassLoaderThe current antlib classloader- Returns:
- the antlib classloader for the definition, this is null if the definition is not used in an antlib.
 
 
-