Transformer transformer = TransformerFactory.newInstance()
.newTransformer();
transformer.transform(source, output);
String svgString = outWriter.toString();
return new BatikRenderer(svgString, null);
}
catch (Exception e)
{
throw new JRRuntimeException(e);
}