TextFormat Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<TextFormat>
      • com.microsoft.azure.cognitiveservices.search.websearch.models.TextFormat

public class TextFormat

Defines values for TextFormat.

Field Summary

Modifier and Type Field and Description
final TextFormat HTML

Static value Html for TextFormat.

final TextFormat RAW

Static value Raw for TextFormat.

Method Summary

Modifier and Type Method and Description
TextFormat fromString(String name)

Creates or finds a TextFormat from its string representation.

Collection<TextFormat> values()

Field Details

HTML

public static final TextFormat HTML= fromString("Html")

Static value Html for TextFormat.

RAW

public static final TextFormat RAW= fromString("Raw")

Static value Raw for TextFormat.

Method Details

fromString

public static TextFormat fromString(String name)

Creates or finds a TextFormat from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding TextFormat

values

public static Collection values()

Returns:

known TextFormat values

Applies to