InternalContentBuilder content =
(InternalContentBuilder) variant.getContentBuilder();
if (content != null) {
content.accept(renderer);
}
InternalMetaDataBuilder metadata =
(InternalMetaDataBuilder) variant.getMetaDataBuilder();
if (metadata != null) {
metadata.accept(renderer);
}
rendered = renderer.getRenderedVariant();
}
return rendered;