code: private static String getTextContent(final Element element) {
  		if (element != null) {
  			String content = element.getTextContent();
  			if (content != null) {
  				content = content.trim();
  			}
  			return content;
  		}
  		return null;
  	}
docs: Returns the text content of an element or null if the element is null.
  
  @param element the same element form which the context should be retrieved
  @return text content of element