public String toXml() {
        return (global ? "<document mode='" + mode + "' type='" + type + "' global='true'/>" :
                "<document mode='" + mode + "' type='" + type + "'/>");
    }
Definition of a document type used for testing.

@author geirst
config-model/src/test/java/com/yahoo/vespa/model/content/utils/DocType.java