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.

  • Constructor Details

    • YahooTree

      public YahooTree()
  • Method Details

    • 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)