com.fatdog.xmlEngine.words.dictionaries
Class TagDictionary

java.lang.Object
  extended bycom.fatdog.xmlEngine.words.dictionaries.Dictionary
      extended bycom.fatdog.xmlEngine.words.dictionaries.TagDictionary

public class TagDictionary
extends Dictionary

A dictionary used to store prefix or localpart QName components.

At present this could be just a straight Dictionary. In past (and possibly in future) a TextDictionary subclass can provide slightly different behaviour for "real" word content, such as ignoring case on lookup (a desirable option for full-text).

NOTA: Underlying dictionary implementation is still evolving. Eg, at present separate dictionaries are dedicated to prefixes and localparts, for both elements and attributes. I will review whether these continue to require separate structures or whether they can and/or should be consolidated.

As well, the underlying WordListHashtable implementation seems reasonably efficient as a storage device, but does not allow alphabetic storage and retrieval. I may swap this out.

Version:
0.66
Author:
Howard Katz, howardk@fatdog.com

Constructor Summary
TagDictionary(int newEntryAllocs)
           
 
Methods inherited from class com.fatdog.xmlEngine.words.dictionaries.Dictionary
addWordEntry, addWordEntry, addWordEntryWithXRef, addWordEntryWithXRef, debugSummary, getNumWords, keyFromWord, keyFromWord, wordFromKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagDictionary

public TagDictionary(int newEntryAllocs)