Package com.xpn.xwiki.util
Class TOCGenerator
- java.lang.Object
-
- com.xpn.xwiki.util.TOCGenerator
-
public class TOCGenerator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
TOC_DATA_LEVEL
static String
TOC_DATA_NUMBERING
static String
TOC_DATA_TEXT
-
Constructor Summary
Constructors Constructor Description TOCGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.useIdGenerator
instead
-
-
-
Field Detail
-
TOC_DATA_NUMBERING
public static final String TOC_DATA_NUMBERING
- See Also:
- Constant Field Values
-
TOC_DATA_LEVEL
public static final String TOC_DATA_LEVEL
- See Also:
- Constant Field Values
-
TOC_DATA_TEXT
public static final String TOC_DATA_TEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateTOC
public static Map<String,Map<String,Object>> generateTOC(String content, int init, int max, boolean numbered, XWikiContext context)
-
makeHeadingID
@Deprecated public static String makeHeadingID(String text, int occurence, XWikiContext context)
Deprecated.useIdGenerator
instead
-
-