|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.MacroDef.Text
public static class 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 |
getDefault()
|
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
boolean |
getOptional()
|
boolean |
getTrim()
|
int |
hashCode()
|
void |
setDefault(java.lang.String defaultString)
|
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 void setDefault(java.lang.String defaultString)
defaultString - default text for the string.public java.lang.String getDefault()
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 | ||||||||