Compartilhar via


TextHighlight Classe

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

public class TextHighlight

Refere-se a uma subcadeia de caracteres de conteúdo em outro campo.

Resumo do Construtor

Construtor Description
TextHighlight()

Resumo do método

Modificador e tipo Método e descrição
java.lang.Integer getOccurence()

Obtenha o valor da ocorrência.

java.lang.String getText()

Obtenha o valor do texto.

void setOccurence(Integer withOccurence)

Defina o valor da ocorrência.

void setText(String withText)

Defina o valor do texto.

Métodos herdados de 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

Detalhes do construtor

TextHighlight

public TextHighlight()

Detalhes do método

getOccurence

public Integer getOccurence()

Obtenha o valor da ocorrência.

Retornos:

o valor da ocorrência

getText

public String getText()

Obtenha o valor do texto.

Retornos:

o valor do texto

setOccurence

public void setOccurence(Integer withOccurence)

Defina o valor da ocorrência.

Parâmetros:

withOccurence - o valor da ocorrência a ser definido

setText

public void setText(String withText)

Defina o valor do texto.

Parâmetros:

withText - o valor de texto a ser definido

Aplica-se a