git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372915
13f79535-47bb-0310-9956-
ffa450edef68
XMLRenderer atrenderer = new XMLRenderer();
atrenderer.setUserAgent(ua);
- atrenderer.setTransformerHandler(athandler);
+ atrenderer.setContentHandler(athandler);
ua.setRendererOverride(atrenderer);
Fop fop = new Fop(MimeConstants.MIME_FOP_AREA_TREE, ua);
ua.setBaseURL(testFile.getParentFile().toURL().toString());
XMLRenderer atrenderer = new XMLRenderer();
atrenderer.setUserAgent(ua);
- atrenderer.setTransformerHandler(athandler);
+ atrenderer.setContentHandler(athandler);
ua.setRendererOverride(atrenderer);
fop = new Fop(MimeConstants.MIME_FOP_AREA_TREE, ua);