Class Synonyms
java.lang.Object
com.webmethods.caf.faces.data.export.atom.Synonyms
Atom element and attribute synonyms.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
findBestMatch
(String term, Collection<String> options) Find the best match for specified term within the specified set of options.
-
Field Details
-
map
-
-
Constructor Details
-
Synonyms
public Synonyms()
-
-
Method Details
-
findBestMatch
Find the best match for specified term within the specified set of options.- Parameters:
term
- Term for which to find the best synonym.options
- Set of options from which to find the best synonym.- Returns:
- Option that best matches, or null if no good matches.
-