*/
public String render(final VariantBuilder variant) {
String rendered = "";
if (variant != null) {
VariantBuilderRenderer renderer = new VariantBuilderRenderer();
InternalSelectionBuilder selection =
(InternalSelectionBuilder) variant.getSelectionBuilder();
if (selection != null) {
selection.accept(renderer);
}
InternalContentBuilder content =
(InternalContentBuilder) variant.getContentBuilder();
if (content != null) {
content.accept(renderer);