public static class MacroDef.Text
extends java.lang.Object
| Constructor and Description | 
|---|
| MacroDef.Text() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
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 valueboolean valuepublic int hashCode()
hashCode in class java.lang.Object