public static final class Description.NullDescription extends java.lang.Object implements Description
Description.NullDescriptionNONE| Constructor and Description |
|---|
NullDescription() |
| Modifier and Type | Method and Description |
|---|---|
Description |
appendDescriptionOf(SelfDescribing value)
Appends the description of a
SelfDescribing value 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
SelfDescribing objects
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.
|
java.lang.String |
toString() |
public Description appendDescriptionOf(SelfDescribing value)
DescriptionSelfDescribing value to this description.appendDescriptionOf in interface Descriptionvalue - the value to append.public 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 Descriptionstart - the prefix.separator - the separator.end - the suffix.values - the values to append.public Description appendText(java.lang.String text)
DescriptionappendText in interface Descriptiontext - the text to append.public Description appendValue(java.lang.Object value)
DescriptionappendValue in interface Descriptionvalue - the object to append.public <T> Description appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, T... values)
DescriptionappendValueList in interface DescriptionT - the description type.start - the prefix.separator - the separator.end - the suffix.values - the values to append.public <T> Description appendValueList(java.lang.String start, java.lang.String separator, java.lang.String end, java.lang.Iterable<T> values)
DescriptionappendValueList in interface DescriptionT - the description type.start - the prefix.separator - the separator.end - the suffix.values - the values to append.public java.lang.String toString()
toString in class java.lang.Object