code: public static String getTextInsideTag(String text, String tag, Map<String, String> attributes)
  	{
  		StringBuffer _buffer = new StringBuffer();
  		Map<String, String> _attributes = (null != attributes) ? attributes : EMPTY_MAP;
  		return doAppendTextInsideTag(_buffer, text, tag, _attributes).toString();
  	}
docs: Wrap a text inside a tag with attributes.
  
  @param text
  the text to wrap
  @param tag
  the tag to use
  @param attributes
  the attribute map
  @return the xml code