001
014
015 package com.liferay.portal.parsers.creole.ast.extension;
016
017 import com.liferay.portal.parsers.creole.ast.ASTNode;
018 import com.liferay.portal.parsers.creole.visitor.ASTVisitor;
019
020
023 public class TableOfContentsNode extends ASTNode {
024
025 public TableOfContentsNode() {
026 }
027
028 public TableOfContentsNode(int token) {
029 super(token);
030 }
031
032 public TableOfContentsNode(int token, String title) {
033 super(token);
034 _title = title;
035 }
036
037 @Override
038 public void accept(ASTVisitor astVisitor) {
039 astVisitor.visit(this);
040 }
041
042 public String getTitle() {
043 return _title;
044 }
045
046 public void setTitle(String _title) {
047 this._title = _title;
048 }
049
050 private String _title;
051
052 }