org.apache.tools.ant.taskdefs.optional.extension

Class ExtensionAdapter

public class ExtensionAdapter extends DataType

Simple class that represents an Extension and conforms to Ants patterns.

UNKNOWN: name="extension"

Method Summary
voidsetExtensionName(String extensionName)
Set the name of extension.
voidsetImplementationUrl(String implementationURL)
Set the implementationURL of extension.
voidsetImplementationVendor(String implementationVendor)
Set the implementationVendor of extension.
voidsetImplementationVendorId(String implementationVendorID)
Set the implementationVendorID of extension.
voidsetImplementationVersion(String implementationVersion)
Set the implementationVersion of extension.
voidsetRefid(Reference reference)
Makes this instance in effect a reference to another ExtensionAdapter instance.
voidsetSpecificationVendor(String specificationVendor)
Set the specificationVendor of extension.
voidsetSpecificationVersion(String specificationVersion)
Set the specificationVersion of extension.
StringtoString()

Method Detail

setExtensionName

public void setExtensionName(String extensionName)
Set the name of extension.

Parameters: extensionName the name of extension

setImplementationUrl

public void setImplementationUrl(String implementationURL)
Set the implementationURL of extension.

Parameters: implementationURL the implementationURL of extension

setImplementationVendor

public void setImplementationVendor(String implementationVendor)
Set the implementationVendor of extension.

Parameters: implementationVendor the implementationVendor of extension

setImplementationVendorId

public void setImplementationVendorId(String implementationVendorID)
Set the implementationVendorID of extension.

Parameters: implementationVendorID the implementationVendorID of extension

setImplementationVersion

public void setImplementationVersion(String implementationVersion)
Set the implementationVersion of extension.

Parameters: implementationVersion the implementationVersion of extension

setRefid

public void setRefid(Reference reference)
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.

Parameters: reference the reference to which this instance is associated

Throws: BuildException if this instance already has been configured.

setSpecificationVendor

public void setSpecificationVendor(String specificationVendor)
Set the specificationVendor of extension.

Parameters: specificationVendor the specificationVendor of extension

setSpecificationVersion

public void setSpecificationVersion(String specificationVersion)
Set the specificationVersion of extension.

Parameters: specificationVersion the specificationVersion of extension

toString

public String toString()

See Also: java.lang.Object#toString()

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.