public class TextCheckResult extends Object
Constructor and Description |
---|
TextCheckResult(String text,
boolean isHtml,
String language) |
Modifier and Type | Method and Description |
---|---|
void |
addWordResult(int startPos,
int charCnt,
WordCheckResult wordResult) |
String |
getLanguage() |
String |
getText() |
com.day.cq.spellchecker.TextCheckResult.WordResult |
getWordResult(int pos) |
boolean |
isHtml() |
String |
toJsonString() |
String |
toJsonString(boolean sparse) |
public void addWordResult(int startPos, int charCnt, WordCheckResult wordResult)
public com.day.cq.spellchecker.TextCheckResult.WordResult getWordResult(int pos)
public String getText()
public boolean isHtml()
public String getLanguage()
public String toJsonString() throws SpellCheckException
SpellCheckException
public String toJsonString(boolean sparse) throws SpellCheckException
SpellCheckException
Copyright © 2010 - 2020 Adobe. All Rights Reserved