private CommentType getCommentType(String typeStr) {
		if (StringUtils.isBlank(typeStr)) {
			return null;
		}
		for (CommentType type : CommentType.values()) {
			if (typeStr.equals(COMMENT_TAGS.get(type))) {
				return type;
			}
		}
		return null; // unknown comment 
	}
Write out the XML for the external entry points.
@param writer writer for XML
@param set address set that is either the entire program or a selection
@param monitor monitor that can be canceled
should be written
@throws CancelledException if task is cancelled
Ghidra/Features/Base/src/main/java/ghidra/app/util/xml/CommentsXmlMgr.java