edu.gwu.jworddrivers
Class RogetNode

java.lang.Object
  extended byedu.gwu.jworddrivers.JWordNode
      extended byedu.gwu.jworddrivers.RogetNode

public class RogetNode
extends JWordNode

Displays the information from the RogetDriver into the JWord console


Constructor Summary
RogetNode(java.lang.String curString, java.lang.String curWord)
          Builds a node based on the returned search results (curString) and the word searched for (curWord)
 
Method Summary
 java.lang.String getCurrentDescription()
          Returns example sentences found in the RogetLibrary (none)
 java.lang.String getDescription()
          Returns example sentences found in the RogetLibrary (none)
 java.lang.String toString()
          Returns curString with curWord bolded and italicized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RogetNode

public RogetNode(java.lang.String curString,
                 java.lang.String curWord)
Builds a node based on the returned search results (curString) and the word searched for (curWord)

Method Detail

toString

public java.lang.String toString()
Returns curString with curWord bolded and italicized

Specified by:
toString in class JWordNode

getDescription

public java.lang.String getDescription()
Returns example sentences found in the RogetLibrary (none)

Specified by:
getDescription in class JWordNode

getCurrentDescription

public java.lang.String getCurrentDescription()
Returns example sentences found in the RogetLibrary (none)

Specified by:
getCurrentDescription in class JWordNode