Package org.xwiki.rendering.wikimodel
Interface IWemListenerTable
-
- All Known Subinterfaces:
IWemListener
- All Known Implementing Classes:
AgregatingWemListener,CompositeListener,EmptyWemListener,EventDumpListener,JspWikiSerializer,PrintInlineListener,PrintListener,PrintTextListener,XWikiSerializer,XWikiSerializer2
public interface IWemListenerTableThis interface re-groups all methods used to notify about tables and their structural elements.- Since:
- 4.0M1
- Version:
- $Id: 2be8fee0722c291f9a00fc9689a3472e9cfe9198 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginTable(WikiParameters params)This method notifies about the beginning of a new table in the document.voidbeginTableCell(boolean tableHead, WikiParameters params)This method is used to notify about the beginning of a new table cell.voidbeginTableRow(WikiParameters params)This method is used to notify about the beginning of a new table row.voidendTable(WikiParameters params)This method notifies about the end of a table in the document.voidendTableCell(boolean tableHead, WikiParameters params)This method is used to notify about the end of a table cell.voidendTableRow(WikiParameters params)This method is used to notify about the end of a table row.voidonTableCaption(String str)Notifies the table caption.
-
-
-
Method Detail
-
beginTable
void beginTable(WikiParameters params)
This method notifies about the beginning of a new table in the document.- Parameters:
params- table parameters- See Also:
endTable(WikiParameters)
-
beginTableCell
void beginTableCell(boolean tableHead, WikiParameters params)This method is used to notify about the beginning of a new table cell.- Parameters:
tableHead- if this flag istruethen the reported cell corresponds to the table head ("th" element); otherwise it should be considered as a normal table cell ("td" element).params- parameters of this cell- See Also:
endTableCell(boolean, WikiParameters)
-
beginTableRow
void beginTableRow(WikiParameters params)
This method is used to notify about the beginning of a new table row.- Parameters:
params- parameters of the row.- See Also:
endTableRow(WikiParameters)
-
endTable
void endTable(WikiParameters params)
This method notifies about the end of a table in the document.- Parameters:
params- table parameters- See Also:
beginTable(WikiParameters)
-
endTableCell
void endTableCell(boolean tableHead, WikiParameters params)This method is used to notify about the end of a table cell.- Parameters:
tableHead- if this flag istruethen the reported cell corresponds to the table head ("th" element); otherwise it should be considered as a normal table cell ("td" element).params- parameters of this cell- See Also:
beginTableCell(boolean, WikiParameters)
-
endTableRow
void endTableRow(WikiParameters params)
This method is used to notify about the end of a table row.- Parameters:
params- parameters of the row.- See Also:
beginTableRow(WikiParameters)
-
onTableCaption
void onTableCaption(String str)
Notifies the table caption.- Parameters:
str- the content of the table caption
-
-