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