code: public static String getOpeningTag(String tag, Map<String, String> attributes)
  	{
  		StringBuffer _result = new StringBuffer();
  		Map<String, String> _attributes = (null != attributes) ? attributes : EMPTY_MAP;
  		return doAppendOpeningTag(_result, tag, _attributes).toString();
  	}
docs: Create a string containing a closing tag.
  
  @param tag
  the closing tag to generate.
  @param attributes
  the map of attributes
  @return the opening tag.