TextHighlight Class

  • java.lang.Object
    • com.microsoft.bot.schema.TextHighlight

public class TextHighlight

Refers to a substring of content within another field.

Constructor Summary

Constructor Description
TextHighlight()

Method Summary

Modifier and Type Method and Description
java.lang.Integer getOccurence()

Get the occurence value.

java.lang.String getText()

Get the text value.

void setOccurence(Integer withOccurence)

Set the occurence value.

void setText(String withText)

Set the text value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TextHighlight

public TextHighlight()

Method Details

getOccurence

public Integer getOccurence()

Get the occurence value.

Returns:

the occurence value

getText

public String getText()

Get the text value.

Returns:

the text value

setOccurence

public void setOccurence(Integer withOccurence)

Set the occurence value.

Parameters:

withOccurence - the occurence value to set

setText

public void setText(String withText)

Set the text value.

Parameters:

withText - the text value to set

Applies to