| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.nokia.ant.Antlib
public class Antlib
Antlib task. It does not occur in an ant build file. It is the root element an antlib xml file.
| Field Summary | |
|---|---|
| static java.lang.String | TAGThe name of this task | 
| Fields inherited from class org.apache.tools.ant.Task | 
|---|
| target, taskName, taskType, wrapper | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
| Antlib() | |
| Method Summary | |
|---|---|
|  void | addTask(org.apache.tools.ant.Task nestedTask)add a task to the list of tasks | 
| static Antlib | createAntlib(org.apache.tools.ant.Project project,
             java.net.URL antlibUrl,
             java.lang.String uri)Static method to read an ant lib definition from a url. | 
|  void | execute()Execute the nested tasks, setting the classloader for any tasks that derive from Definer. | 
| protected  void | setClassLoader(java.lang.ClassLoader classLoader)Set the class loader for this antlib. | 
| protected  void | setURI(java.lang.String uri)Set the URI for this antlib. | 
| Methods inherited from class org.apache.tools.ant.Task | 
|---|
| bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String TAG
| Constructor Detail | 
|---|
public Antlib()
| Method Detail | 
|---|
public static Antlib createAntlib(org.apache.tools.ant.Project project,
                                  java.net.URL antlibUrl,
                                  java.lang.String uri)
project - the current projectantlibUrl - the url to read the definitions fromuri - the uri that the antlib is to be placed in
protected final void setClassLoader(java.lang.ClassLoader classLoader)
classLoader - the class loaderprotected final void setURI(java.lang.String uri)
uri - the namespace uripublic final void addTask(org.apache.tools.ant.Task nestedTask)
addTask in interface org.apache.tools.ant.TaskContainernestedTask - Nested task to execute in antlibpublic final void execute()
execute in class org.apache.tools.ant.Task| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||