Description that is stored as a string.
| Modifier and Type | Field and Description |
|---|---|
| private final Appendable |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | append(String str)
Overrides org. |
| protected void | append(char c)
Implements abstract org. |
| public static String | |
| public static String | Returns: The description of the object.The object to be described. selfDescribing)Return the description of a |
| public String |
| out | back to summary |
|---|---|
| private final Appendable out | |
| StringDescription | back to summary |
|---|---|
| public StringDescription() | |
| StringDescription | back to summary |
|---|---|
| public StringDescription(Appendable out) | |
| append | back to summary |
|---|---|
| protected void append(String str) Overrides org. Doc from org. Append the String str to the description.
The default implementation passes every character to
| |
| append | back to summary |
|---|---|
| protected void append(char c) Implements abstract org. Doc from org. Append the char c to the description.
| |
| asString | back to summary |
|---|---|
| public static String asString(SelfDescribing selfDescribing) Alias for | |
| toString | back to summary |
|---|---|
| public static String toString(SelfDescribing selfDescribing) Return the description of a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the description as a string.
| |