public class PSSVGHandler extends AbstractGenericSVGHandler implements PSRendererContextConstants
| Modifier and Type | Class and Description |
|---|---|
static class |
PSSVGHandler.PSInfo
PostScript information structure for drawing the XML document.
|
PS_FONT_INFO, PS_GENERATORFOREIGN_ATTRIBUTES, HANDLER_CONFIGURATION, HEIGHT, OUTPUT_STREAM, PAGE_VIEWPORT, WIDTH, XPOS, YPOSHANDLE_ALL| Constructor and Description |
|---|
PSSVGHandler()
Create a new PostScript XML handler for use by the PostScript renderer.
|
| Modifier and Type | Method and Description |
|---|---|
static PSSVGHandler.PSInfo |
getPSInfo(RendererContext context)
Get the pdf information from the render context.
|
protected void |
renderSVGDocument(RendererContext context,
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 PSSVGHandler()
public static PSSVGHandler.PSInfo getPSInfo(RendererContext context)
context - the renderer contextprotected void renderSVGDocument(RendererContext context, 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 © 2023 Apache Software Foundation. All rights reserved.