org.apache.tools.ant.taskdefs
Class MacroDef.TemplateElement
java.lang.Object
org.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
getDescription
public String getDescription()
- the description of the element, or
null
if
no description is available.
getName
public String getName()
hashCode
public int hashCode()
- a hash code value for this object.
isImplicit
public boolean isImplicit()
isOptional
public boolean isOptional()
setDescription
public void setDescription(String desc)
desc
- Description of the element.
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-2008 Apache Software Foundation. All Rights Reserved.