public abstract class BaseDescription extends java.lang.Object implements Description
Description that is stored as a string.Description.NullDescriptionNONE| Constructor and Description | 
|---|
| BaseDescription() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract void | append(char c)Append the char c to the description. | 
| protected void | append(java.lang.String str)Append the String str to the description. | 
| Description | appendDescriptionOf(SelfDescribing value)Appends the description of a  SelfDescribingvalue to this description. | 
| Description | appendList(java.lang.String start,
          java.lang.String separator,
          java.lang.String end,
          java.lang.Iterable<? extends SelfDescribing> values)Appends a list of  SelfDescribingobjects
 to the description. | 
| Description | appendText(java.lang.String text)Appends some plain text to the description. | 
| Description | appendValue(java.lang.Object value)Appends an arbitrary value to the description. | 
| <T> Description | appendValueList(java.lang.String start,
               java.lang.String separator,
               java.lang.String end,
               java.lang.Iterable<T> values)Appends a list of values to the description. | 
| <T> Description | appendValueList(java.lang.String start,
               java.lang.String separator,
               java.lang.String end,
               T... values)Appends a list of values to the description. | 
public Description appendText(java.lang.String text)
DescriptionappendText in interface Descriptionpublic Description appendDescriptionOf(SelfDescribing value)
DescriptionSelfDescribing value to this description.appendDescriptionOf in interface Descriptionpublic Description appendValue(java.lang.Object value)
DescriptionappendValue in interface Descriptionpublic <T> Description appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, T... values)
DescriptionappendValueList in interface Descriptionpublic <T> Description appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<T> values)
DescriptionappendValueList in interface Descriptionpublic Description appendList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<? extends SelfDescribing> values)
DescriptionSelfDescribing objects
 to the description.appendList in interface Descriptionprotected void append(java.lang.String str)
append(char).  
 Override in subclasses to provide an efficient implementation.protected abstract void append(char c)