org.apache.tools.ant
Interface TypeAdapter
- TaskAdapter
public interface TypeAdapter
Used to wrap types.
checkProxyClass
public void checkProxyClass(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.
proxyClass
- the class to be checked.
getProject
public Project getProject()
Gets the project
getProxy
public Object getProxy()
Returns the proxy object.
setProject
public void setProject(Project p)
Sets the project
p
- the project instance.
setProxy
public void setProxy(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.
o
- The target object. Must not be null
.
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.