public Iterator<DocumentType> documentTypeIterator() {
        return documentTypes.values().iterator();
    }
A read only view of the registered document types
@return map of types
document/src/main/java/com/yahoo/document/DocumentTypeManager.java