public class TableOfContentTag extends HTMLTag implements IBodyTag, ITableOfContent
ALLOWED_ATTRIBUTES, ALLOWED_ATTRIBUTES_SETname, originalSource| Constructor and Description |
|---|
TableOfContentTag(String name) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
List<SectionHeader> |
getSectionHeaders()
Get a list of the section headers (i.e.
|
List<Object> |
getTableOfContent() |
boolean |
isReduceTokenStack() |
boolean |
isShowToC() |
boolean |
isTOCIdentifier() |
void |
renderHTML(ITextConverter converter,
Appendable writer,
IWikiModel model) |
void |
setShowToC(boolean showToC)
Enable or disable the rendering of the "table of content"
|
void |
setTOCIdentifier(boolean isTOCIdentifier) |
appendAttributes, appendEscapedAttributes, getDefaultParentTag, renderHTMLWithoutTag, setTemplateaddAllowedAttribute, addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, getAllowedAttributes, getAttributes, getBodyString, getChildren, getItemsToMove, getObjectAttributes, getParent, getParents, isAllowedAttribute, isFormed, makeCopy, renderPlainText, serialize, setFormed, setItemsToMove, setParentequals, getName, getOriginalSource, hashCode, setName, setOriginalSource, toStringpublic TableOfContentTag(String name)
public void renderHTML(ITextConverter converter, Appendable writer, IWikiModel model) throws IOException
renderHTML in class HTMLTagIOExceptionpublic boolean isReduceTokenStack()
isReduceTokenStack in class TagTokenpublic boolean isShowToC()
public void setShowToC(boolean showToC)
setShowToC in interface ITableOfContentshowToC - if true render the "table of content"public boolean isTOCIdentifier()
public void setTOCIdentifier(boolean isTOCIdentifier)
public List<SectionHeader> getSectionHeaders()
ITableOfContentgetSectionHeaders in interface ITableOfContentCopyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.