org.apache.tools.ant.taskdefs.optional.extension
Class ExtraAttribute
java.lang.Object
org.apache.tools.ant.taskdefs.optional.extension.ExtraAttribute
public class ExtraAttribute
extends java.lang.Object
Simple holder for extra attributes in main section of manifest.
Version:
- Refactor this and all the other parameter, sysproperty,
property etc into a single class in framework
void | setName(String name) - Set the name of the parameter.
|
void | setValue(String value) - Set the value of the parameter.
|
void | validate() - Make sure that neither the name or the value
is null.
|
setName
public void setName(String name)
Set the name of the parameter.
name
- the name of parameter
setValue
public void setValue(String value)
Set the value of the parameter.
value
- the parameter value
validate
public void validate()
throws BuildException
Make sure that neither the name or the value
is null.
BuildException
- if the attribute is invalid.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.