org.apache.fop.render
Class AbstractGenericSVGHandler
java.lang.Object
org.apache.fop.render.AbstractGenericSVGHandler
- RendererContextConstants, XMLHandler
public abstract class AbstractGenericSVGHandler
extends java.lang.Object
Generic XML handler for SVG. Uses Apache Batik for SVG processing and simply paints to
a Graphics2DAdapter and thus ultimatively to Graphics2D interface that is presented.
To use this class, subclass it and implement the missing methods (supportsRenderer, for example).
renderSVGDocument
protected void renderSVGDocument(RendererContext context,
Document doc)
throws IOException
Render the SVG document.
context
- the renderer contextdoc
- the SVG document
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.