public static void setClosingTag(String flavor) {

		if (FLAVORS_XHTML_EXTENDED.equalsIgnoreCase(flavor)) {
			closingFlavor = POST_XHTML_EXT_TAG;
		} else if (FLAVORS_HTML.equalsIgnoreCase(flavor))
			closingFlavor = POST_HTML_TAG;
		else
			closingFlavor = POST_TAG;

	}
public static void setClosingTag ( String flavor ) { if ( FLAVORS_XHTML_EXTENDED . equalsIgnoreCase ( flavor ) ) { closingFlavor = POST_XHTML_EXT_TAG ; } else if ( FLAVORS_HTML . equalsIgnoreCase ( flavor ) ) closingFlavor = POST_HTML_TAG ; else closingFlavor = POST_TAG ; }
Utility method to get the closing tag value based on a config parameter.

@param flavor
the flavor