org.apache.tools.ant.taskdefs
Class MacroDef.TemplateElement
java.lang.Objectorg.apache.tools.ant.taskdefs.MacroDef.TemplateElement
- MacroDef
public static class MacroDef.TemplateElement
extends java.lang.Object
A nested element for the MacroDef task.
equals
public boolean equals(Object obj)
equality method
obj - an Object value
- a
boolean value
getDescription
public String getDescription()
- the description of the element, or
null if
no description is available.
- ant 1.6.1
getName
public String getName()
- the name of the element.
hashCode
public int hashCode()
- a hash code value for this object.
isImplicit
public boolean isImplicit()
- the implicit attribute
isOptional
public boolean isOptional()
- the optional attribute
setDescription
public void setDescription(String desc)
desc - Description of the element.
- ant 1.6.1
setImplicit
public void setImplicit(boolean implicit)
is this element implicit ?
implicit - if true this element may be left out, default
is false.
setName
public void setName(String name)
The name of the element.
name - the name of the element.
setOptional
public void setOptional(boolean optional)
is this element optional ?
optional - if true this element may be left out, default
is false.
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.