@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.
|
static void |
appendTo(StringConcatenationClient client,
StringConcatenationClient.TargetStringConcatenation target)
Delegates to
appendTo(TargetStringConcatenation) to make it publicly accessible. |
protected void appendTo(StringConcatenationClient.TargetStringConcatenation target)
target - the StringConcatenationClient.TargetStringConcatenation to-append-to. Never null.public static void appendTo(StringConcatenationClient client, StringConcatenationClient.TargetStringConcatenation target)
appendTo(TargetStringConcatenation) to make it publicly accessible.client - the StringConcatenationClient on which appendTo(TargetStringConcatenation) is
invoked.target - the StringConcatenationClient.TargetStringConcatenation to-append-to. Never null.