if (table.getRowHoverClass() != null) {
printIndent(out, indent);
out.print("<rowhoverclass>"); out.print(StringEscapeUtils.escapeXml(table.getRowHoverClass())); out.println("</rowhoverclass>");
}
// Group by configuration (optional).
DataProperty groupByProperty = table.getGroupByProperty();
if (groupByProperty != null) {
printIndent(out, indent++);
out.println("<groupby>");
DomainConfiguration domainConfig = new DomainConfiguration(groupByProperty);
table.setGroupByConfiguration(domainConfig);
formatDomain(domainConfig, out, indent);
printIndent(out, indent);
out.print("<showtotals>"); out.print(table.showGroupByTotals()); out.println("</showtotals>");
printIndent(out, indent);
out.print("<totalshtmlstyle>"); out.print(table.getGroupByTotalsHtmlStyle()); out.println("</totalshtmlstyle>");
printIndent(out, --indent);
out.println("</groupby>");
}
// Columns to display.
for (int columnIndex=0; columnIndex<table.getColumnCount(); columnIndex++) {
DataProperty columnProperty = table.getOriginalDataProperty(columnIndex);
if (columnProperty == null) continue;
TableColumn column = table.getColumn(columnIndex);
printIndent(out, indent++);
out.println("<column>");