} catch ( NullPointerException npE ) {
// thrown all over this method ...
throw new ResourceAccessException( npE );
}
final boolean keepCase = Boolean.parseBoolean( rootDictEl.getAttributeValue( "caseSensitive" ) );
final DictionaryEngine dictEngine = new DictionaryEngine( dict, keepCase );
final Element excludeList = rootDictEl.getChild( "excludeList" );
if ( excludeList != null && excludeList.getChildren() != null && !excludeList.getChildren().isEmpty() ) {
addExcludeList( dictEngine, excludeList.getChildren() );
}
return dictEngine;