| threaddemo.apps.index.Index
All known Subclasses: threaddemo.apps.index.IndexImpl,
Index | interface Index (Code) | | Maintains a read-only index of elements in XML phadhail documents.
author: Jesse Glick |
addChangeListener | void addChangeListener(ChangeListener l)(Code) | | Add a listener to changes in the data.
|
cancel | void cancel()(Code) | | Stop any ongoing processing if there was any.
Results will not generally be valid after this.
|
getData | Map<String, Integer> getData()(Code) | | Get the index data.
Keys are XML element names.
Values are occurrence counts.
Must be called with lock held, and result may only be accessed with it held.
|
getRoot | Phadhail getRoot()(Code) | | Get the root of the tree being searched.
|
start | void start()(Code) | | Begin parsing, if it has not already been begun.
|
|
|