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_GENERATOR
FOREIGN_ATTRIBUTES, HANDLER_CONFIGURATION, HEIGHT, OUTPUT_STREAM, PAGE_VIEWPORT, WIDTH, XPOS, YPOS
HANDLE_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,
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, updateRendererContext
public PSSVGHandler()
public static PSSVGHandler.PSInfo getPSInfo(RendererContext context)
context
- the renderer contextprotected void renderSVGDocument(RendererContext context, org.w3c.dom.Document doc)
renderSVGDocument
in class AbstractGenericSVGHandler
context
- the renderer contextdoc
- the svg documentpublic boolean supportsRenderer(Renderer renderer)
supportsRenderer
in interface XMLHandler
renderer
- the renderer for which to check.Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.