Package org.apache.fop.svg
Interface SVGEventProducer
-
- All Superinterfaces:
EventProducer
public interface SVGEventProducer extends EventProducer
Event producer interface for SVG-related events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SVGEventProducer.Provider
Provider class for the event producer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
alert(java.lang.Object source, java.lang.String message)
Alert during SVG processing.void
bitmapWithTransparency(java.lang.Object source, java.lang.Object pdfProfile, java.lang.String uri)
SVG references a bitmap image that contains transparency while it is not allowed.void
error(java.lang.Object source, java.lang.String message, java.lang.Exception e)
Error during SVG processing.void
info(java.lang.Object source, java.lang.String message)
Info during SVG processing.void
svgNotBuilt(java.lang.Object source, java.lang.Exception e, java.lang.String uri)
SVG graphic could not be built due to an exception.void
svgRenderingError(java.lang.Object source, java.lang.Exception e, java.lang.String uri)
SVG graphic could not be rendered due to an exception.void
transparencyIgnored(java.lang.Object source, java.lang.Object pdfProfile, java.lang.String uri)
Transparency has been ignored due to restrictions from the PDF profile being used.
-
-
-
Method Detail
-
error
void error(java.lang.Object source, java.lang.String message, java.lang.Exception e)
Error during SVG processing. Either message or e must be set.- Parameters:
source
- the event sourcemessage
- the error message (or null)e
- the exception (or null)
-
alert
void alert(java.lang.Object source, java.lang.String message)
Alert during SVG processing.- Parameters:
source
- the event sourcemessage
- the error message
-
info
void info(java.lang.Object source, java.lang.String message)
Info during SVG processing.- Parameters:
source
- the event sourcemessage
- the error message
-
svgNotBuilt
void svgNotBuilt(java.lang.Object source, java.lang.Exception e, java.lang.String uri)
SVG graphic could not be built due to an exception.- Parameters:
source
- the event sourcee
- the original exceptionuri
- the URI of the SVG graphic
-
svgRenderingError
void svgRenderingError(java.lang.Object source, java.lang.Exception e, java.lang.String uri)
SVG graphic could not be rendered due to an exception.- Parameters:
source
- the event sourcee
- the original exceptionuri
- the URI of the SVG graphic
-
transparencyIgnored
void transparencyIgnored(java.lang.Object source, java.lang.Object pdfProfile, java.lang.String uri)
Transparency has been ignored due to restrictions from the PDF profile being used.- Parameters:
source
- the event sourcepdfProfile
- the PDF profileuri
- the image URI, if available
-
bitmapWithTransparency
void bitmapWithTransparency(java.lang.Object source, java.lang.Object pdfProfile, java.lang.String uri)
SVG references a bitmap image that contains transparency while it is not allowed.- Parameters:
source
- the event sourcepdfProfile
- the PDF profile that disallows transparencyuri
- the image URI, if available
-
-