Class ExtensionAdapter
- java.lang.Object
- 
- org.apache.tools.ant.ProjectComponent
- 
- org.apache.tools.ant.types.DataType
- 
- org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Cloneable
 
 public class ExtensionAdapter extends DataType Simple class that represents an Extension and conforms to Ants patterns.
- 
- 
Field Summary- 
Fields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
 
- 
 - 
Constructor SummaryConstructors Constructor Description ExtensionAdapter()
 - 
Method SummaryModifier and Type Method Description voidsetExtensionName(java.lang.String extensionName)Set the name of extension.voidsetImplementationUrl(java.lang.String implementationURL)Set the implementationURL of extension.voidsetImplementationVendor(java.lang.String implementationVendor)Set the implementationVendor of extension.voidsetImplementationVendorId(java.lang.String implementationVendorID)Set the implementationVendorID of extension.voidsetImplementationVersion(java.lang.String implementationVersion)Set the implementationVersion of extension.voidsetRefid(Reference reference)Makes this instance in effect a reference to another ExtensionAdapter instance.voidsetSpecificationVendor(java.lang.String specificationVendor)Set the specificationVendor of extension.voidsetSpecificationVersion(java.lang.String specificationVersion)Set the specificationVersion of extension.java.lang.StringtoString()a debug toString method.- 
Methods inherited from class org.apache.tools.ant.types.DataTypecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes
 - 
Methods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
- 
 
- 
- 
- 
Method Detail- 
setExtensionNamepublic void setExtensionName(java.lang.String extensionName) Set the name of extension.- Parameters:
- extensionName- the name of extension
 
 - 
setSpecificationVersionpublic void setSpecificationVersion(java.lang.String specificationVersion) Set the specificationVersion of extension.- Parameters:
- specificationVersion- the specificationVersion of extension
 
 - 
setSpecificationVendorpublic void setSpecificationVendor(java.lang.String specificationVendor) Set the specificationVendor of extension.- Parameters:
- specificationVendor- the specificationVendor of extension
 
 - 
setImplementationVendorIdpublic void setImplementationVendorId(java.lang.String implementationVendorID) Set the implementationVendorID of extension.- Parameters:
- implementationVendorID- the implementationVendorID of extension
 
 - 
setImplementationVendorpublic void setImplementationVendor(java.lang.String implementationVendor) Set the implementationVendor of extension.- Parameters:
- implementationVendor- the implementationVendor of extension
 
 - 
setImplementationVersionpublic void setImplementationVersion(java.lang.String implementationVersion) Set the implementationVersion of extension.- Parameters:
- implementationVersion- the implementationVersion of extension
 
 - 
setImplementationUrlpublic void setImplementationUrl(java.lang.String implementationURL) Set the implementationURL of extension.- Parameters:
- implementationURL- the implementationURL of extension
 
 - 
setRefidpublic void setRefid(Reference reference) throws BuildException Makes this instance in effect a reference to another ExtensionAdapter instance.You must not set another attribute or nest elements inside this element if you make it a reference. - Overrides:
- setRefidin class- DataType
- Parameters:
- reference- the reference to which this instance is associated
- Throws:
- BuildException- if this instance already has been configured.
 
 
- 
 
-