public Element makeElement(Document document){
  Element elem=SVGUtil.svgElement(document,SVGConstants.SVG_PATH_TAG);
  elem.setAttribute(SVGConstants.SVG_D_ATTRIBUTE,buf.toString());
  return elem;
}

public Element makeElement ( Document document ) { Element elem = SVGUtil . svgElement ( document , SVGConstants . SVG_PATH_TAG ) ; elem . setAttribute ( SVGConstants . SVG_D_ATTRIBUTE , buf . toString ( ) ) ; return elem ; }
turn the path buffer into an svg element .
