protected void handleTemplate(final Template template, final List<?> args) {
        for (final Template.Element element : template.getElements()) {
            final Object rv = element.convert(args);
            if (rv instanceof Expression) {
                ((Expression<?>) rv).accept(this, null);
            } else if (element.isString()) {
                builder.append(rv.toString());
            } else {
                visitConstant(rv);
            }
        }
    }
{@code SerializerBase} is a stub for Serializer implementations which serialize query metadata to Strings

@param <S> concrete subtype
@author tiwe
querydsl-core/src/main/java/com/querydsl/core/support/SerializerBase.java