abstractPaneInstance.getFormat();
RowIteratorPaneInstance paneInstance = (RowIteratorPaneInstance)
abstractPaneInstance;
// Get the attributes.
RowIteratorPaneAttributes attributes = (RowIteratorPaneAttributes)
paneInstance.getAttributes();
// Get the module.
LayoutModule module = context.getLayoutModule();
// Write out our pane preamble
module.writeOpenRowIteratorPane(attributes);
if (logger.isDebugEnabled()) {
logger.debug("RowIteratorPane.writeOutput() for "
+ pane.getName());
}
// Concatenate together the entire contents of all of the
// content buffers
Iterator itr = paneInstance.getBufferIterator();
while (itr.hasNext()) {
Object o = itr.next();
if (o instanceof OutputBuffer) {
OutputBuffer contentBuffer = (OutputBuffer) o;
if (!contentBuffer.isEmpty()) {
// Copy the attributes because the rendering process
// destroys the styles.
RowIteratorPaneAttributes paneElementAttributes =
new RowIteratorPaneAttributes();
paneElementAttributes.copy(attributes);
// Write out the element preamble
module.writeOpenRowIteratorPaneElement(
paneElementAttributes);