net.didion.jwnl.data
Interface DictionaryElement

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Exc, IndexWord, Synset, SynsetProxy

public interface DictionaryElement
extends java.io.Serializable

Any class that represents an element contained in the dictionary (IndexWords, Synsets, and Exceptions) must implement this interface.


Method Summary
 java.lang.Object getKey()
          Get a key that can be used to index this element.
 DictionaryElementType getType()
          Get the element's type.
 

Method Detail

getKey

java.lang.Object getKey()
Get a key that can be used to index this element.


getType

DictionaryElementType getType()
Get the element's type.