org.apache.tools.ant.taskdefs
Class MacroDef.Text
java.lang.Object
org.apache.tools.ant.taskdefs.MacroDef.Text
- MacroDef
public static class MacroDef.Text
extends java.lang.Object
A nested text element for the MacroDef task.
equals
public boolean equals(Object obj)
equality method
getDescription
public String getDescription()
- the description of the text, or
null
if
no description is available.
getName
public String getName()
- the name of the attribute
getOptional
public boolean getOptional()
- true if the text is optional
getTrim
public boolean getTrim()
hashCode
public int hashCode()
- a hash code value for this object.
setDescription
public void setDescription(String desc)
desc
- Description of the text.
setName
public void setName(String name)
The name of the attribute.
name
- the name of the attribute
setOptional
public void setOptional(boolean optional)
The optional attribute of the text element.
optional
- if true this is optional
setTrim
public void setTrim(boolean trim)
The trim attribute of the text element.
trim
- if true this String.trim() is called on
the contents of the text element.
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.