if ( this.tableAttributes == null )
{
this.tableAttributes = new SinkEventAttributeSet( 0 );
}
MutableAttributeSet att = new SinkEventAttributeSet();
if ( !this.tableAttributes.isDefined( Attribute.BORDER.toString() ) )
{
att.addAttribute( Attribute.BORDER, ( grid ? "1" : "0" ) );
}
if ( !this.tableAttributes.isDefined( Attribute.CLASS.toString() ) )
{
att.addAttribute( Attribute.CLASS, "bodyTable" );
}
att.addAttributes( this.tableAttributes );
this.tableAttributes.removeAttributes( this.tableAttributes );
writeStartTag( HtmlMarkup.TABLE, att );
this.cellCountStack.addLast( Integer.valueOf( 0 ) );