}
/** {@inheritDoc} */
- void endTablePart(TableBody tableBody) throws ValidationException {
+ void endTablePart() throws ValidationException {
if (rows.size() > 0) {
throw new ValidationException(
"A table-cell is spanning more rows than available in its parent element.");
* row-group is checked for emptiness. This row group builder is reset for handling
* further possible table parts.
*
- * @param tableBody the table part being ended
* @throws ValidationException if a row-spanning cell overflows the given table part
*/
- abstract void endTablePart(TableBody tableBody) throws ValidationException;
+ abstract void endTablePart() throws ValidationException;
/**
* Receives notification of the end of the table.
rowGroupBuilder.endRow(this);
}
try {
- rowGroupBuilder.endTablePart(this);
+ rowGroupBuilder.endTablePart();
} catch (ValidationException e) {
e.setLocator(locator);
throw e;
}
/** {@inheritDoc} */
- void endTablePart(final TableBody tableBody) throws ValidationException {
+ void endTablePart() throws ValidationException {
// TODO catch the ValidationException sooner?
events.add(new Event() {
public void play(RowGroupBuilder rowGroupBuilder) throws ValidationException {
- rowGroupBuilder.endTablePart(tableBody);
+ rowGroupBuilder.endTablePart();
}
});
}