org.apache.ctakes.dictionary.lookup
Class BaseDictionaryImpl

java.lang.Object
  extended by org.apache.ctakes.dictionary.lookup.BaseDictionaryImpl
All Implemented Interfaces:
Dictionary

Deprecated. Use AbstractBaseDictionary

@Deprecated
public abstract class BaseDictionaryImpl
extends Object
implements Dictionary

Author:
Mayo Clinic

Constructor Summary
BaseDictionaryImpl()
          Deprecated.  
 
Method Summary
abstract  boolean contains(String text)
          Deprecated. Determines whether the Dictionary contains the specified input text.
abstract  Collection<MetaDataHit> getEntries(String str)
          Deprecated. Gets any meta data entries associated with the specified input text.
protected  Iterator<String> getMetaFieldNames()
          Deprecated.  
 void retainMetaData(String metaFieldName)
          Deprecated. Tells the Dictionary to retain specific bits of metadata for each entry in the Dictionary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDictionaryImpl

public BaseDictionaryImpl()
Deprecated. 
Method Detail

getMetaFieldNames

protected Iterator<String> getMetaFieldNames()
Deprecated. 

retainMetaData

public void retainMetaData(String metaFieldName)
Deprecated. 
Description copied from interface: Dictionary
Tells the Dictionary to retain specific bits of metadata for each entry in the Dictionary.

Specified by:
retainMetaData in interface Dictionary
Parameters:
metaFieldName - Name specific to Dictionary implementation.

contains

public abstract boolean contains(String text)
                          throws DictionaryException
Deprecated. 
Description copied from interface: Dictionary
Determines whether the Dictionary contains the specified input text.

Specified by:
contains in interface Dictionary
Parameters:
text - The input text.
Returns:
true if Dictionary contains input text, false otherwise.
Throws:
DictionaryException

getEntries

public abstract Collection<MetaDataHit> getEntries(String str)
                                            throws DictionaryException
Deprecated. 
Description copied from interface: Dictionary
Gets any meta data entries associated with the specified input text.

Specified by:
getEntries in interface Dictionary
Parameters:
str - The input text.
Returns:
Collection of MetaDataHit objects.
Throws:
DictionaryException


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.