outputBufferFactory.createOutputBuffer();
outputBufferStack.pushOutputBuffer(buffer);
// Render the nested region content.
RegionContent content = (RegionContent) element.getAnnotation();
content.render(context);
// Pop the temporary buffer of the stack.
outputBufferStack.popOutputBuffer(buffer);
// Replace the current element with the contents of the