code: public static Element svgText(Document document, double x, double y, String text) {
      Element elem = SVGUtil.svgElement(document, SVGConstants.SVG_TEXT_TAG);
      SVGUtil.setAtt(elem, SVGConstants.SVG_X_ATTRIBUTE, x);
      SVGUtil.setAtt(elem, SVGConstants.SVG_Y_ATTRIBUTE, y);
      elem.setTextContent(text);
      return elem;
    }
docs: Create a SVG text element.
  
  @param document document to create in (factory)
  @param x first point x
  @param y first point y
  @param text Content of text element.
  @return New text element.