Class SVGRenderingContext

java.lang.Object
org.apache.fop.render.AbstractRenderingContext
org.apache.fop.render.svg.SVGRenderingContext
All Implemented Interfaces:
RenderingContext

public class SVGRenderingContext extends AbstractRenderingContext
Rendering context for SVG production.
  • Field Details

  • Constructor Details

    • SVGRenderingContext

      public SVGRenderingContext(FOUserAgent userAgent, ContentHandler handler)
      Main constructor.
      Parameters:
      userAgent - the user agent
      handler - the target content handler
  • Method Details

    • getMimeType

      public String getMimeType()
      Returns the MIME type associated with the current output format.
      Returns:
      the MIME type (ex. application/pdf)
    • getContentHandler

      public ContentHandler getContentHandler()
      Returns the target content handler.
      Returns:
      the content handler