info.bliki.wiki.tags
Class TableOfContentTag

java.lang.Object
  extended by org.htmlcleaner.TagToken
      extended by org.htmlcleaner.TagNode
          extended by info.bliki.wiki.tags.HTMLTag
              extended by 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


Field Summary
 
Fields inherited from class info.bliki.wiki.tags.HTMLTag
NEW_LINES
 
Constructor Summary
TableOfContentTag(java.lang.String name)
           
 
Method Summary
 java.lang.Object clone()
           
 java.util.List getTableOfContent()
           
 boolean isReduceTokenStack()
           
 boolean isShowToC()
           
 boolean isTOCIdentifier()
           
 void renderHTML(ITextConverter converter, java.lang.Appendable writer, IWikiModel model)
           
 void setShowToC(boolean showToC)
           
 void setTOCIdentifier(boolean isTOCIdentifier)
           
 
Methods inherited from class info.bliki.wiki.tags.HTMLTag
appendAttributes, appendEscapedAttributes, appendUnescapedAttributes, getBodyString, renderHTMLWithoutTag, renderLaTeX, setTemplate
 
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 org.htmlcleaner.TagToken
equals, getName, getOriginalSource, hashCode, setName, setOriginalSource, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableOfContentTag

public TableOfContentTag(java.lang.String name)
Method Detail

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)