info.bliki.wiki.filter
Class WPTable
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.WPTable
- All Implemented Interfaces:
- BaseToken, java.lang.Cloneable
public class WPTable
- extends WPTag
Represents a wiki table (i.e. table syntax bordered by
{| ..... |}
). See: Help - Table
Constructor Summary |
WPTable(java.util.ArrayList<WPRow> rows)
|
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 |
WPTable
public WPTable(java.util.ArrayList<WPRow> rows)
getParams
public java.lang.String getParams()
- Returns:
- Returns the params.
setParams
public void setParams(java.lang.String params)
- Parameters:
params
- The params to set.
add
public boolean add(WPRow row)
- Parameters:
o
-
- Returns:
get
public WPRow get(int index)
- Parameters:
index
-
- Returns:
getRowsSize
public int getRowsSize()
size
public int size()
- 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
getNumColumns
public int getNumColumns()
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
renderPlainText
public void renderPlainText(ITextConverter converter,
java.lang.Appendable buf,
IWikiModel wikiModel)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2012 Java Wikipedia API (Bliki engine). All Rights Reserved.