Class SVGRenderingContext

    • Field Detail

      • handler

        private org.xml.sax.ContentHandler handler
    • Constructor Detail

      • SVGRenderingContext

        public SVGRenderingContext​(FOUserAgent userAgent,
                                   org.xml.sax.ContentHandler handler)
        Main constructor.
        Parameters:
        userAgent - the user agent
        handler - the target content handler
    • Method Detail

      • getMimeType

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

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