org.apache.tools.ant.taskdefs
public static class MacroDef.Text extends Object
Since: ant 1.6.1
Method Summary | |
---|---|
boolean | equals(Object obj)
equality method
|
String | getDefault() |
String | getDescription() |
String | getName() |
boolean | getOptional() |
boolean | getTrim() |
int | hashCode() |
void | setDefault(String defaultString) |
void | setDescription(String desc) |
void | setName(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.
|
Parameters: obj an Object
value
Returns: a boolean
value
Returns: the default text if set, null otherwise.
Returns: the description of the text, or null
if
no description is available.
Returns: the name of the attribute
Returns: true if the text is optional
Returns: true if the text is trim
Returns: a hash code value for this object.
Parameters: defaultString default text for the string.
Parameters: desc Description of the text.
Parameters: name the name of the attribute
Parameters: optional if true this is optional
Parameters: trim if true this String.trim() is called on the contents of the text element.