Class YahooTree
- java.lang.Object
-
- net.ontopia.topicmaps.nav2.portlets.pojos.YahooTree
-
public class YahooTree extends Object
PUBLIC: This component can create a two-level view of the top of a tree, similar to the old Yahoo directory taxonomy that's still used by dmoz. The structure is a list of rows where each row contains up to n (configurable) top-level nodes, and each top-level node contains the immediate children of the top-level node.The object is independent of a specific topic map transaction, and can thus be configured once and reused across transactions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
YahooTree.TreeNode
-
Constructor Summary
Constructors Constructor Description YahooTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumns()
List<List<YahooTree.TreeNode>>
makeModel(TopicMapIF topicmap)
void
setChildQuery(String query)
void
setColumns(int columns)
void
setTopQuery(String topquery)
-
-
-
Method Detail
-
setTopQuery
public void setTopQuery(String topquery)
-
setChildQuery
public void setChildQuery(String query)
-
setColumns
public void setColumns(int columns)
-
getColumns
public int getColumns()
-
makeModel
public List<List<YahooTree.TreeNode>> makeModel(TopicMapIF topicmap)
-
-