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