public String handleWord(String aWord){
  Matcher m=conditionPattern.matcher(aWord);
  if (m != null && m.matches()) {
    if (type.equals(AffixType.PREFIX)) {
      return handlePrefix(aWord);
    }
 else     if (type.equals(AffixType.SUFFIX)) {
      return handleSuffix(aWord);
    }
  }
  return null;
}

public String handleWord ( String aWord ) { Matcher m = conditionPattern . matcher ( aWord ) ; if ( m != null && m . matches ( ) ) { if ( type . equals ( AffixType . PREFIX ) ) { return handlePrefix ( aWord ) ; } else if ( type . equals ( AffixType . SUFFIX ) ) { return handleSuffix ( aWord ) ; } } return null ; }
adopt this affix on a given word
