info.bliki.wiki.filter
Class WPList
java.lang.Object
org.htmlcleaner.TagToken
org.htmlcleaner.TagNode
info.bliki.wiki.tags.HTMLTag
info.bliki.wiki.tags.WPTag
info.bliki.wiki.filter.WPList
- All Implemented Interfaces:
- java.lang.Cloneable, BaseToken
public class WPList
- extends WPTag
Represents a wikipedia list
| Methods inherited from class info.bliki.wiki.tags.WPTag |
equals |
| 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 java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
WPList
public WPList()
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