net.dpml.transit.tools
Class PluginTask.Antlib

java.lang.Object
  extended by net.dpml.transit.tools.PluginTask.Antlib
Enclosing class:
PluginTask

public static class PluginTask.Antlib
extends Object

Nested element with the <plugin> element declaring a packaged resource and urn of an antlib descriptor to be loaded from the classloader established by the transit plugin descriptor.


Constructor Summary
PluginTask.Antlib()
           
 
Method Summary
 String getPath()
          Return the antlib resource path.
 String getURN()
          Return the antlib urn.
 void setResource(String path)
          Set the antlib resource path
 void setUrn(String urn)
          Set the urn for this antlib.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginTask.Antlib

public PluginTask.Antlib()
Method Detail

setUrn

public void setUrn(String urn)
Set the urn for this antlib.

Parameters:
urn - the antlib urn

getURN

public String getURN()
Return the antlib urn.

Returns:
the urn (possibly null in which case the a urn must be declared within the plugin descriptor)0

setResource

public void setResource(String path)
Set the antlib resource path

Parameters:
path - the resource path

getPath

public String getPath()
Return the antlib resource path.

Returns:
the path (possibly null in which case the resource reference must exist in the plugin descriptor)