T
- The type of translatable commodity.public class TranslationType<T> extends Object
Modifier and Type | Field and Description |
---|---|
static TranslationType<String> |
TEXT
Simple text content of type text/plain.
|
static TranslationType<String> |
XML
XML based content.
|
Modifier and Type | Method and Description |
---|---|
T |
cast(Object object)
Cast the given object to the underlying type.
|
public static final TranslationType<String> TEXT
public static final TranslationType<String> XML
@Contract(value="null -> null") public T cast(Object object)
object
- The object to be cast.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210