@SuppressWarnings("nls")
    @Override
    protected void doXContent(XContentBuilder builder) throws IOException {
        builder.startObject("term");
        if (sValue != null) {
            builder.field(term, sValue);
        } else if (bValue != null) {
            builder.field(term, bValue);
        } else if (lValue != null) {
            builder.field(term, lValue);
        }
        builder.endObject();
    }
@see io.apiman.manager.api.es.util.AbstractQueryBuilder#doXContent(io.apiman.manager.api.es.util.XContentBuilder)
manager/api/es/src/main/java/io/apiman/manager/api/es/util/TermBuilder.java