public static class MultiWordSuggestOracle.MultiWordSuggestion extends java.lang.Object implements SuggestOracle.Suggestion, IsSerializable
MultiWordSuggestOracle
.Constructor and Description |
---|
MultiWordSuggestion()
Constructor used by RPC.
|
MultiWordSuggestion(java.lang.String replacementString,
java.lang.String displayString)
Constructor for
MultiWordSuggestion . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayString()
Gets the display string associated with this suggestion.
|
java.lang.String |
getReplacementString()
Gets the replacement string associated with this suggestion.
|
public MultiWordSuggestion()
public MultiWordSuggestion(java.lang.String replacementString, java.lang.String displayString)
MultiWordSuggestion
.replacementString
- the string to enter into the SuggestBox's text
box if the suggestion is chosendisplayString
- the display stringpublic java.lang.String getDisplayString()
SuggestOracle.Suggestion
SuggestOracle.isDisplayStringHTML()
.getDisplayString
in interface SuggestOracle.Suggestion
public java.lang.String getReplacementString()
SuggestOracle.Suggestion
getReplacementString
in interface SuggestOracle.Suggestion