public static Keyword createKeyword(String text,KeywordMatchType matchType){
  Keyword keyword=new Keyword();
  keyword.setMatchType(matchType);
  keyword.setText(text);
  return keyword;
}

public static Keyword createKeyword ( String text , KeywordMatchType matchType ) { Keyword keyword = new Keyword ( ) ; keyword . setMatchType ( matchType ) ; keyword . setText ( text ) ; return keyword ; }
convenience method for creating a new keyword .
