|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.rendering.wiki.Toc
public class Toc
Table of contents model.
A simple linked list of toc entries.
Nested Class Summary | |
---|---|
static class |
Toc.Entry
|
Constructor Summary | |
---|---|
Toc()
|
Method Summary | |
---|---|
java.lang.String |
addHeading(java.lang.String title,
int level)
Adds a heading to the TOC list and returns the ID of that heading (to be used for anchors). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Toc()
Method Detail |
---|
public java.lang.String addHeading(java.lang.String title, int level)
title
- the heading titlelevel
- the heading level
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |