info.bliki.wiki.tags
Class TableOfContentTag
java.lang.Object
org.htmlcleaner.TagToken
org.htmlcleaner.TagNode
info.bliki.wiki.tags.HTMLTag
info.bliki.wiki.tags.TableOfContentTag
- All Implemented Interfaces:
- IBodyTag, java.lang.Cloneable, BaseToken
public class TableOfContentTag
- extends HTMLTag
- implements IBodyTag
Wiki tag for "table of contents" inside a wikipedia article
| Methods inherited from class org.htmlcleaner.TagNode |
addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, getAttributes, getChildren, getItemsToMove, getObjectAttributes, getParent, getParents, isFormed, makeCopy, serialize, setFormed, setItemsToMove, setParent |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
TableOfContentTag
public TableOfContentTag(java.lang.String name)
renderHTML
public void renderHTML(ITextConverter converter,
java.lang.Appendable writer,
IWikiModel model)
throws java.io.IOException
- Overrides:
renderHTML in class HTMLTag
- Throws:
java.io.IOException
isReduceTokenStack
public boolean isReduceTokenStack()
- Overrides:
isReduceTokenStack in class TagToken
isShowToC
public boolean isShowToC()
setShowToC
public void setShowToC(boolean showToC)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone in class TagNode
- Throws:
java.lang.CloneNotSupportedException
getTableOfContent
public java.util.List getTableOfContent()
isTOCIdentifier
public boolean isTOCIdentifier()
setTOCIdentifier
public void setTOCIdentifier(boolean isTOCIdentifier)