@GwtCompatible
public abstract class StringConcatenationClient
extends java.lang.Object
StringConcatenation
to append content to it. This puts clients into the position that they can
fully control the used instance, e.g. they can use a custom line delimiter
or override StringConcatenation.getStringRepresentation(Object)
.Modifier and Type | Class and Description |
---|---|
static interface |
StringConcatenationClient.TargetStringConcatenation
A
StringConcatenationClient.TargetStringConcatenation models the public interface of a
StringConcatenation so implementations of the StringConcatenationClient
can append their content properly. |
Constructor and Description |
---|
StringConcatenationClient() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendTo(StringConcatenationClient.TargetStringConcatenation target)
Implementors have to override this method and feed the given
target instance.
|
protected void appendTo(StringConcatenationClient.TargetStringConcatenation target)
target
- the StringConcatenationClient.TargetStringConcatenation
to-append-to. Never null
.