Class PCLSVGHandler

  • All Implemented Interfaces:
    RendererContextConstants, XMLHandler

    public class PCLSVGHandler
    extends AbstractGenericSVGHandler
    PCL XML handler for SVG. Uses Apache Batik for SVG processing. This handler handles XML for foreign objects when rendering to HP GL/2. It renders SVG to HP GL/2 using the PCLGraphics2D.
    • Constructor Detail

      • PCLSVGHandler

        public PCLSVGHandler()
    • Method Detail

      • supportsRenderer

        public boolean supportsRenderer​(Renderer renderer)
        Checks if this XMLHandler supports handling an XML namespace for a particular renderer.
        Parameters:
        renderer - the renderer for which to check.
        Returns:
        true if this XML handler supports a particular renderer
      • updateRendererContext

        protected void updateRendererContext​(RendererContext context)
        Override this method to update the renderer context if it needs special settings for certain conditions.
        Overrides:
        updateRendererContext in class AbstractGenericSVGHandler
        Parameters:
        context - the renderer context