doc / ch.tutteli.atrium.reporting / RawString

RawString

interface RawString

Marker interface for types which provide a raw string functionality and should be treated accordingly in reporting (e.g., in ObjectFormatter).

Companion Object Properties

EMPTY

val EMPTY: RawString

An empty string as RawString.

NULL

val NULL: StringBasedRawString

The representation for null as StringBasedRawString.

Companion Object Functions

create

fun create(string: String): RawString
fun create(translatable: Translatable): RawString

Inheritors

StringBasedRawString

data class StringBasedRawString : RawString

Use this class to represent a String which should be treated as raw String in reporting.

TranslatableBasedRawString

data class TranslatableBasedRawString : RawString

Use this class to represent a Translatable which shall be translated and then be treated as raw String in reporting.