info.bliki.wiki.filter
Class WPList
java.lang.Object
info.bliki.htmlcleaner.TagToken
info.bliki.htmlcleaner.TagNode
info.bliki.wiki.tags.HTMLTag
info.bliki.wiki.tags.WPTag
info.bliki.wiki.filter.WPList
- All Implemented Interfaces:
- BaseToken, java.lang.Cloneable
public class WPList
- extends WPTag
Represents a Wikipedia list. See http://meta.wikimedia.org/wiki/Help:List
- See Also:
WPListElement
Methods inherited from class info.bliki.wiki.tags.WPTag |
equals |
Methods inherited from class info.bliki.htmlcleaner.TagNode |
addAllowedAttribute, addAttribute, addChild, addChildren, addItemForMoving, addObjectAttribute, getAllowedAttributes, getAttributes, getBodyString, getBodyString, getChildren, getItemsToMove, getObjectAttributes, getParent, isAllowedAttribute, isFormed, makeCopy, removeAllowedAttribute, serialize, setFormed, setItemsToMove, setParent |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
DL_DD_CHAR
public static final char DL_DD_CHAR
- See Also:
- Constant Field Values
DL_DT_CHAR
public static final char DL_DT_CHAR
- See Also:
- Constant Field Values
OL_CHAR
public static final char OL_CHAR
- See Also:
- Constant Field Values
UL_CHAR
public static final char UL_CHAR
- See Also:
- Constant Field Values
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
clone
public java.lang.Object clone()
- Overrides:
clone
in class TagNode
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
getNestedElements
public WPList.InternalList getNestedElements()
renderPlainText
public void renderPlainText(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel wikiModel)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class TagToken
Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.