FileDocCategorySizeDatePackage
TypeAdapter.javaAPI DocApache Ant 1.701863Wed Dec 13 06:16:20 GMT 2006org.apache.tools.ant

TypeAdapter

public interface TypeAdapter
Used to wrap types.

Fields Summary
Constructors Summary
Methods Summary
public voidcheckProxyClass(java.lang.Class proxyClass)
Check if the proxy class is compatible with this adapter - i.e. the adapter will be able to adapt instances of the give class.

param
proxyClass the class to be checked.

public ProjectgetProject()
Gets the project

return
the project instance.

public java.lang.ObjectgetProxy()
Returns the proxy object.

return
the target proxy object

public voidsetProject(Project p)
Sets the project

param
p the project instance.

public voidsetProxy(java.lang.Object o)
Sets the proxy object, whose methods are going to be invoked by ant. A proxy object is normally the object defined by a <typedef/> task that is adapted by the "adapter" attribute.

param
o The target object. Must not be null.