org.apache.tools.ant.taskdefs
Class MacroDef.Attribute
java.lang.Object
org.apache.tools.ant.taskdefs.MacroDef.Attribute
- MacroDef
public static class MacroDef.Attribute
extends java.lang.Object
A nested element for the MacroDef task.
equals
public boolean equals(Object obj)
equality method
getDefault
public String getDefault()
- the default value, null if not set
getDescription
public String getDescription()
- the description of the element, or
null
if
no description is available.
getName
public String getName()
- the name of the attribute
hashCode
public int hashCode()
- a hash code value for this object.
setDefault
public void setDefault(String defaultValue)
The default value to use if the parameter is not
used in the templated instance.
defaultValue
- the default value
setDescription
public void setDescription(String desc)
desc
- Description of the element.
setName
public void setName(String name)
The name of the attribute.
name
- the name of the attribute
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.