tContents

public static Object tContents(Object origin)

In other languages, this transformer is used for supporting union types. Java doesn't have union types, so we define a dummy transformer here.

This is used in the converters.


public static ImmutableList<Content> tContents(String text)

Transforms a text string to a list of Content for the API.

Not intended to be used in converters.

Return

the transformed list of Content

Parameters

text

the text string to transform


public static ImmutableList<Content> tContents(Content content)

Transforms a Content to a list of Content for the API.

Not intended to be used in converters.

Return

the transformed list of Content

Parameters

content

a Content to transform