}
public void visitCrosstab(JRCrosstab crosstab)
{
JRBaseCrosstab baseCrosstab = null;
if (crosstab != null)
{
baseCrosstab = (JRBaseCrosstab) get(crosstab);
if (baseCrosstab == null)
{
Integer id = expressionCollector.getCrosstabId(crosstab);
if (id == null)
{
throw new JRRuntimeException("Crosstab ID not found.");
}
baseCrosstab = new JRBaseCrosstab(crosstab, this, id.intValue());
}
}
setVisitResult(baseCrosstab);
}