public class TaxoModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
defaultTerm |
static java.lang.String |
kbHref |
static java.lang.String |
kbName |
static java.util.HashMap<java.lang.String,TaxoNode> |
nodeMap |
static java.lang.String |
relation |
static java.util.HashMap<java.lang.String,TaxoNode> |
rootList |
static java.lang.String |
termPage |
Constructor and Description |
---|
TaxoModel() |
Modifier and Type | Method and Description |
---|---|
static void |
collapseNode(java.lang.String nodeName)
Remove the children of this node.Called as the result of an &contract=term
parameter sent to TreeView.jsp
|
static void |
collapseParentNodes(java.lang.String nodeName)
Remove the parents of this node.
|
static void |
displayTerm(java.lang.String nodeName)
If the given name is already displayed, do nothing, otherwise
create a new tree with that one node.
|
static void |
expandNode(java.lang.String nodeName)
Gather information from the knowledge base to create the data for
the children of this node.
|
static void |
expandParentNodes(java.lang.String nodeName)
Gather information from the knowledge base to create the data for
the parents of this node.
|
static void |
newTree(java.lang.String termName)
Remove the old tree and start over from termName.
|
static java.util.ArrayList<Formula> |
removeCached(java.util.ArrayList<Formula> forms)
Remove any cached formulas from a list.
|
static java.lang.String |
toHTML(java.lang.String kbHref) |
public static java.lang.String kbHref
public static java.lang.String relation
public static java.lang.String kbName
public static java.lang.String defaultTerm
public static java.lang.String termPage
public static java.util.HashMap<java.lang.String,TaxoNode> nodeMap
public static java.util.HashMap<java.lang.String,TaxoNode> rootList
public static void newTree(java.lang.String termName)
public static java.util.ArrayList<Formula> removeCached(java.util.ArrayList<Formula> forms)
public static void collapseParentNodes(java.lang.String nodeName)
public static void expandParentNodes(java.lang.String nodeName)
public static void collapseNode(java.lang.String nodeName)
public static void expandNode(java.lang.String nodeName)
public static void displayTerm(java.lang.String nodeName)
public static java.lang.String toHTML(java.lang.String kbHref)