com.webmethods.caf.faces.data.export.atom
Class Synonyms

java.lang.Object
  extended by com.webmethods.caf.faces.data.export.atom.Synonyms

public class Synonyms
extends Object

Atom element and attribute synonyms.


Field Summary
static Map map
           
 
Constructor Summary
Synonyms()
           
 
Method Summary
static String findBestMatch(String term, Collection options)
          Find the best match for specified term within the specified set of options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public static Map map
Constructor Detail

Synonyms

public Synonyms()
Method Detail

findBestMatch

public static String findBestMatch(String term,
                                   Collection options)
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.