Package org.apache.fop.render.svg
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 Summary
Fields Modifier and Type Field Description private org.xml.sax.ContentHandler
handler
-
Constructor Summary
Constructors Constructor Description SVGRenderingContext(FOUserAgent userAgent, org.xml.sax.ContentHandler handler)
Main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xml.sax.ContentHandler
getContentHandler()
Returns the target content handler.java.lang.String
getMimeType()
Returns the MIME type associated with the current output format.-
Methods inherited from class org.apache.fop.render.AbstractRenderingContext
getHint, getHints, getUserAgent, putHint, putHints
-
-
-
-
Constructor Detail
-
SVGRenderingContext
public SVGRenderingContext(FOUserAgent userAgent, org.xml.sax.ContentHandler handler)
Main constructor.- Parameters:
userAgent
- the user agenthandler
- 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
-
-