Overview
API Versioning
Deprecated
dw.suggest
Class SuggestedPhrase
Object
dw.suggest.SuggestedPhrase
This class represents a suggested phrase. Use
getPhrase()
method to get access to the phrase.
Properties
exactMatch : boolean (Read Only)
This method returns a flag signaling whether this phrase is a exact match.
phrase :
String
(Read Only)
This method returns the actual phrase as a string value.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getPhrase
() :
String
This method returns the actual phrase as a string value.
isExactMatch
() : boolean
This method returns a flag signaling whether this phrase is a exact match.
Methods inherited from class
Object
assign
,
create
,
create
,
defineProperties
,
defineProperty
,
entries
,
freeze
,
fromEntries
,
getOwnPropertyDescriptor
,
getOwnPropertyNames
,
getOwnPropertySymbols
,
getPrototypeOf
,
hasOwnProperty
,
is
,
isExtensible
,
isFrozen
,
isPrototypeOf
,
isSealed
,
keys
,
preventExtensions
,
propertyIsEnumerable
,
seal
,
setPrototypeOf
,
toLocaleString
,
toString
,
valueOf
,
values
Method Detail
getPhrase
getPhrase
() :
String
This method returns the actual phrase as a string value.
Returns:
the phrase
isExactMatch
isExactMatch
() : boolean
This method returns a flag signaling whether this phrase is a exact match.
Returns:
true if this phrase is a exact match, false otherwise