Top Description Fields Constructors Methods
org.apache.tools.ant.taskdefs.optional.extension

public Class ExtraAttribute

extends Object
Class Inheritance
Imports
org.apache.tools.ant.BuildException

Simple holder for extra attributes in main section of manifest.

Field Summary

Modifier and TypeField and Description
private String
private String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv String

Returns:

the name of parameter.
getName
()

Retrieve name of parameter.

pack-priv String

Returns:

the value of parameter.
getValue
()

Retrieve the value of parameter.

public void
setName(final String
the name of parameter
name
)

Set the name of the parameter.

public void
setValue(final String
the parameter value
value
)

Set the value of the parameter.

public void
validate()

Make sure that neither the name or the value is null.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private String name
valueback to summary
private String value

Constructor Detail

ExtraAttributeback to summary
public ExtraAttribute()

Method Detail

getNameback to summary
pack-priv String getName()

Retrieve name of parameter.

Returns:String

the name of parameter.

getValueback to summary
pack-priv String getValue()

Retrieve the value of parameter.

Returns:String

the value of parameter.

setNameback to summary
public void setName(final String name)

Set the name of the parameter.

Parameters
name:String

the name of parameter

setValueback to summary
public void setValue(final String value)

Set the value of the parameter.

Parameters
value:String

the parameter value

validateback to summary
public void validate() throws BuildException

Make sure that neither the name or the value is null.

Exceptions
BuildException:
if the attribute is invalid.