org.apache.fop.render.java2d
Class Java2DSVGHandler
java.lang.Object
org.apache.fop.render.java2d.Java2DSVGHandler
- Java2DRendererContextConstants, RendererContextConstants, XMLHandler
public class Java2DSVGHandler
extends java.lang.Object
Java2D XML handler for SVG (uses Apache Batik).
This handler handles XML for foreign objects when rendering to Java2D.
The properties from the Java2D renderer are subject to change.
Java2DSVGHandler() - Create a new Java2D XML handler for use by the Java2D renderer and its subclasses.
|
Java2DSVGHandler
public Java2DSVGHandler()
Create a new Java2D XML handler for use by the Java2D renderer and its subclasses.
getJava2DInfo
public static Java2DSVGHandler.Java2DInfo getJava2DInfo(RendererContext context)
Get the pdf information from the render context.
context
- the renderer context
- the pdf information retrieved from the context
renderSVGDocument
protected void renderSVGDocument(RendererContext context,
Document doc,
Java2DSVGHandler.Java2DInfo info)
Render the svg document.
context
- the renderer contextdoc
- the svg documentinfo
- the pdf information of the current context
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.