edu.gwu.jworddrivers
Class JWordNode

java.lang.Object
  extended byedu.gwu.jworddrivers.JWordNode
Direct Known Subclasses:
RogetNode, WordNetNode

public abstract class JWordNode
extends java.lang.Object


Constructor Summary
JWordNode()
          Must Implement a real constructor.
 
Method Summary
abstract  java.lang.String getCurrentDescription()
          Returns the description specific to the current node selected
abstract  java.lang.String getDescription()
          Returns description for all nodes under this node.
abstract  java.lang.String toString()
          Return what the node should display
This is recommended to be a list of words or an example string with the search word bolded and italicized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JWordNode

public JWordNode()
Must Implement a real constructor. Default constructor is provided to allow inheritance.
In Driver implementation you must have some area of storage declared too hold the word and a string to allow the three methods to work correctly

Method Detail

getCurrentDescription

public abstract java.lang.String getCurrentDescription()
Returns the description specific to the current node selected


getDescription

public abstract java.lang.String getDescription()
Returns description for all nodes under this node. It is recommended to show example sentences or paragraphs of usage here


toString

public abstract java.lang.String toString()
Return what the node should display
This is recommended to be a list of words or an example string with the search word bolded and italicized