code: private static Element createRangeElement(Document document, String name,
  			ConfigurableEmitter.Range range) {
  		Element element = document.createElement(name);
  		element.setAttribute("min", "" + range.getMin());
  		element.setAttribute("max", "" + range.getMax());
  		element.setAttribute("enabled", "" + range.isEnabled());
  
  		return element;
  	}
docs: Create an XML element based on a configured range
  
  @param document
  The document the element will be part of
  @param name
  The name to give the new element
  @param range
  The configured range
  @return A configured XML element on the range