|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.tools.ant.taskdefs.MacroDef.Text
A nested text element for the MacroDef task.
| Constructor Summary | |
MacroDef.Text()
|
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
equality method |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
boolean |
getOptional()
|
boolean |
getTrim()
|
int |
hashCode()
|
void |
setDescription(java.lang.String desc)
|
void |
setName(java.lang.String name)
The name of the attribute. |
void |
setOptional(boolean optional)
The optional attribute of the text element. |
void |
setTrim(boolean trim)
The trim attribute of the text element. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MacroDef.Text()
| Method Detail |
public void setName(java.lang.String name)
name - the name of the attributepublic java.lang.String getName()
public void setOptional(boolean optional)
optional - if true this is optionalpublic boolean getOptional()
public void setTrim(boolean trim)
trim - if true this String.trim() is called on
the contents of the text element.public boolean getTrim()
public void setDescription(java.lang.String desc)
desc - Description of the text.public java.lang.String getDescription()
null if
no description is available.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - an Object value
boolean valuepublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||