public class TOCGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TOC_DATA_LEVEL |
static String |
TOC_DATA_NUMBERING |
static String |
TOC_DATA_TEXT |
Constructor and Description |
---|
TOCGenerator() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Map<String,Object>> |
generateTOC(String content,
int init,
int max,
boolean numbered,
XWikiContext context) |
static String |
makeHeadingID(String text,
int occurence,
XWikiContext context)
Deprecated.
use
IdGenerator instead |
public static final String TOC_DATA_NUMBERING
public static final String TOC_DATA_LEVEL
public static final String TOC_DATA_TEXT
public static Map<String,Map<String,Object>> generateTOC(String content, int init, int max, boolean numbered, XWikiContext context)
@Deprecated public static String makeHeadingID(String text, int occurence, XWikiContext context)
IdGenerator
insteadCopyright © 2004–2022 XWiki. All rights reserved.