Example usage for com.liferay.portal.kernel.util TreeNode TreeNode

List of usage examples for com.liferay.portal.kernel.util TreeNode TreeNode

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util TreeNode TreeNode.

Prototype

public TreeNode(T value) 

Source Link

Usage

From source file:com.liferay.portlet.wiki.engines.antlrwiki.translator.TableOfContentsVisitor.java

License:Open Source License

public TreeNode<HeadingNode> compose(WikiPageNode wikiPageNode) {
    _headingNode = new TreeNode<HeadingNode>(new HeadingNode(Integer.MIN_VALUE));

    visit(wikiPageNode);//www .  j a v a  2s  .c om

    return _headingNode;
}

From source file:com.liferay.wiki.engine.creole.internal.antlrwiki.translator.TableOfContentsVisitor.java

License:Open Source License

public TreeNode<HeadingNode> compose(WikiPageNode wikiPageNode) {
    _headingNode = new TreeNode<>(new HeadingNode(Integer.MIN_VALUE));

    visit(wikiPageNode);//from w w  w  . j  a v  a  2 s.  c o m

    return _headingNode;
}