closeDivElement(currentBuffer);
}
// javadoc inherited
public boolean shouldRenderContents(VolantisProtocol protocol, MCSAttributes attributes) throws ProtocolException {
SummaryAttributes summaryAttributes = (SummaryAttributes) attributes;
if (summaryAttributes.isInsideGalleryItem()) {
// The strategy for ItemGallery is not to render contents on fallback
return isWidgetSupported(protocol);
} else {
// in other cases use the default strategy
return super.shouldRenderContents(protocol, attributes);