Package org.apache.tools.ant
Interface TypeAdapter
- All Known Implementing Classes:
- AugmentReference,- TaskAdapter
public interface TypeAdapter
Used to wrap types.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckProxyClass(Class<?> proxyClass) Check if the proxy class is compatible with this adapter - i.e.Gets the projectgetProxy()Returns the proxy object.voidSets the projectvoidSets the proxy object, whose methods are going to be invoked by ant.
- 
Method Details- 
setProjectSets the project- Parameters:
- p- the project instance.
 
- 
getProjectProject getProject()Gets the project- Returns:
- the project instance.
 
- 
setProxySets 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.- Parameters:
- o- The target object. Must not be- null.
 
- 
getProxyObject getProxy()Returns the proxy object.- Returns:
- the target proxy object
 
- 
checkProxyClassCheck if the proxy class is compatible with this adapter - i.e. the adapter will be able to adapt instances of the give class.- Parameters:
- proxyClass- the class to be checked.
 
 
-