private void renderStructure(Inspector structure, int nestingLevel) {
            for (Map.Entry<String,Inspector> entry : structure.fields()) {
                String key = entry.getKey();
                Inspector value = entry.getValue();
                renderTarget.append('\n');
                indent(nestingLevel);
                renderTarget.append("<struct-field name=\"").append(key).append("\">");
                renderInspector(value, nestingLevel);
                renderTarget.append("</struct-field>");
            }
            renderTarget.append('\n');
        }
Utility class for converting accessible data into the historical "prelude" xml format.
container-search/src/main/java/com/yahoo/prelude/hitfield/XmlRenderer.java