Java2DRendererContextConstants, RendererContextConstants, XMLHandlerpublic class Java2DSVGHandler extends AbstractGenericSVGHandler implements Java2DRendererContextConstants
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Java2DSVGHandler.Java2DInfo |
Java2D information structure for drawing the XML document.
|
JAVA2D_STATEFOREIGN_ATTRIBUTES, HANDLER_CONFIGURATION, HEIGHT, OUTPUT_STREAM, PAGE_VIEWPORT, WIDTH, XPOS, YPOSHANDLE_ALL| Constructor | Description |
|---|---|
Java2DSVGHandler() |
Create a new Java2D XML handler for use by the Java2D renderer and its subclasses.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Java2DSVGHandler.Java2DInfo |
getJava2DInfo(RendererContext context) |
Get the pdf information from the render context.
|
protected void |
renderSVGDocument(RendererContext context,
org.w3c.dom.Document doc) |
Render the SVG document.
|
boolean |
supportsRenderer(Renderer renderer) |
Checks if this XMLHandler supports handling an XML namespace for a particular renderer.
|
buildGraphicsNode, createGraphics2DImagePainter, getDocumentURI, getImageSize, getNamespace, handleXML, updateRendererContextpublic Java2DSVGHandler()
public static Java2DSVGHandler.Java2DInfo getJava2DInfo(RendererContext context)
context - the renderer contextprotected void renderSVGDocument(RendererContext context, org.w3c.dom.Document doc)
renderSVGDocument in class AbstractGenericSVGHandlercontext - the renderer contextdoc - the SVG documentpublic boolean supportsRenderer(Renderer renderer)
supportsRenderer in interface XMLHandlerrenderer - the renderer for which to check.Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.