edu.princeton.wordnet.browser
Class TreeModelFactory

java.lang.Object
  extended by edu.princeton.wordnet.browser.TreeModelFactory

public class TreeModelFactory
extends java.lang.Object

Widget factory

Author:
Bernard Bou

Field Summary
private  long theDuration
          How long request took
 
Constructor Summary
TreeModelFactory()
          C O N S T R U C T O R
 
Method Summary
 long getDuration()
          Getter for duration
 javax.swing.tree.TreeModel makeModel(java.lang.String thisLookup)
          Make model
 javax.swing.tree.TreeModel makeRawXmlModel(java.lang.String thisLookup)
          Make raw XML model
 javax.swing.tree.TreeModel makeXmlModel(java.lang.String thisLookup)
          Make XML model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theDuration

private long theDuration
How long request took

Constructor Detail

TreeModelFactory

public TreeModelFactory()
C O N S T R U C T O R

Method Detail

getDuration

public long getDuration()
Getter for duration

Returns:
word

makeModel

public javax.swing.tree.TreeModel makeModel(java.lang.String thisLookup)
                                     throws java.lang.Exception
Make model

Parameters:
thisLookup - target lookup
Returns:
TreeModel
Throws:
java.lang.Exception

makeXmlModel

public javax.swing.tree.TreeModel makeXmlModel(java.lang.String thisLookup)
                                        throws java.lang.Exception
Make XML model

Parameters:
thisLookup - target lookup
Returns:
TreeModel
Throws:
java.lang.Exception

makeRawXmlModel

public javax.swing.tree.TreeModel makeRawXmlModel(java.lang.String thisLookup)
                                           throws java.lang.Exception
Make raw XML model

Parameters:
thisLookup - target lookup
Returns:
TreeModel
Throws:
java.lang.Exception