info.bliki.wiki.filter
Class WPList

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.WPTag
                  extended by info.bliki.wiki.filter.WPList
All Implemented Interfaces:
java.lang.Cloneable, BaseToken

public class WPList
extends WPTag

Represents a wikipedia list


Field Summary
 
Fields inherited from class info.bliki.wiki.tags.HTMLTag
NEW_LINES
 
Constructor Summary
WPList()
           
 
Method Summary
 boolean add(WPListElement listElement)
           
 java.lang.Object clone()
           
 java.lang.String getParents()
          Get the allowed parent tags for this tag
 boolean isEmpty()
           
 boolean isReduceTokenStack()
           
 void renderHTML(ITextConverter converter, java.lang.Appendable buf, IWikiModel wikiModel)
           
 void renderLaTeX(ITextConverter converter, java.lang.Appendable _out, IWikiModel wikiModel)
           
 
Methods inherited from class info.bliki.wiki.tags.WPTag
equals
 
Methods inherited from class info.bliki.wiki.tags.HTMLTag
appendAttributes, appendEscapedAttributes, appendUnescapedAttributes, getBodyString, renderHTMLWithoutTag, setTemplate
 
Methods inherited from class org.htmlcleaner.TagNode
addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, getAttributes, getChildren, getItemsToMove, getObjectAttributes, getParent, isFormed, makeCopy, serialize, setFormed, setItemsToMove, setParent
 
Methods inherited from class org.htmlcleaner.TagToken
getName, getOriginalSource, hashCode, setName, setOriginalSource, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WPList

public WPList()
Method Detail

isEmpty

public boolean isEmpty()

add

public boolean add(WPListElement listElement)
Parameters:
listElement -
Returns:

renderHTML

public void renderHTML(ITextConverter converter,
                       java.lang.Appendable buf,
                       IWikiModel wikiModel)
                throws java.io.IOException
Overrides:
renderHTML in class WPTag
Throws:
java.io.IOException

renderLaTeX

public void renderLaTeX(ITextConverter converter,
                        java.lang.Appendable _out,
                        IWikiModel wikiModel)
                 throws java.io.IOException
Overrides:
renderLaTeX in class WPTag
Throws:
java.io.IOException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class TagNode
Throws:
java.lang.CloneNotSupportedException

isReduceTokenStack

public boolean isReduceTokenStack()
Overrides:
isReduceTokenStack in class WPTag

getParents

public java.lang.String getParents()
Description copied from class: TagToken
Get the allowed parent tags for this tag

Overrides:
getParents in class TagNode
Returns:
null if no parent tags are allowed