TextFormat Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. cognitiveservices. search. websearch. models. TextFormat
- com.
- com.
public final class TextFormat
extends com.microsoft.rest.ExpandableStringEnum<TextFormat>
Defines values for TextFormat.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Text |
HTML
Static value Html for Text |
static final
Text |
RAW
Static value Raw for Text |
Constructor Summary
Constructor | Description | |
---|---|---|
TextFormat() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Text |
fromString(String name)
Creates or finds a Text |
static
java.util.Collection<Text |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
com.microsoft.rest.ExpandableStringEnum.<T>fromString
com.microsoft.rest.ExpandableStringEnum.<T>values
com.microsoft.rest.ExpandableStringEnum.equals
com.microsoft.rest.ExpandableStringEnum.hashCode
com.microsoft.rest.ExpandableStringEnum.toString
com.microsoft.rest.ExpandableStringEnum.withNameValue
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Field Details
HTML
public static final TextFormat HTML
Static value Html for TextFormat.
RAW
public static final TextFormat RAW
Static value Raw for TextFormat.
Constructor Details
TextFormat
public 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
Returns:
known TextFormat values
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java