Package org.apache.fop
Interface ResourceEventProducer
- All Superinterfaces:
org.apache.fop.events.EventProducer
public interface ResourceEventProducer
extends org.apache.fop.events.EventProducer
Event producer interface for resource events (missing images, fonts etc.).
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Provider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cannotDeleteTempFile
(Object source, File tempFile) Cannot delete a temporary file.void
catalogResolverNotCreated
(Object source, String message) Catalog Resolver not created, due to InstantiationException or IllegalAccessExceptionvoid
catalogResolverNotFound
(Object source) Catalog Resolver not found along the class pathvoid
foreignXMLNoHandler
(Object source, Document doc, String namespaceURI) No handler for foreign XML content.void
foreignXMLProcessingError
(Object source, Document doc, String namespaceURI, Exception e) Error processing foreign XML content.void
hyphenationNotFound
(Object source, String uri) Hyphenation not found.void
ifoNoIntrinsicSize
(Object source, Locator loc) Intrinsic size of fo:instream-foreign-object could not be determined.void
imageError
(Object source, String uri, org.apache.xmlgraphics.image.loader.ImageException e, Locator loc) Error while processing image.void
imageIOError
(Object source, String uri, IOException ioe, Locator loc) I/O error while loading an image.void
imageNotFound
(Object source, String uri, FileNotFoundException fnfe, Locator loc) Image not found.void
imageWarning
(Object source, String message) Warning in an image.void
imageWritingError
(Object source, Exception e) Error while writing/serializing an image to an output format.void
Error while handling a URI.
-
Method Details
-
imageNotFound
Image not found.- Parameters:
source
- the event sourceuri
- the original URI of the imagefnfe
- the "file not found" exceptionloc
- the location of the error or null- Event severity level:
- ERROR
-
imageError
void imageError(Object source, String uri, org.apache.xmlgraphics.image.loader.ImageException e, Locator loc) Error while processing image.- Parameters:
source
- the event sourceuri
- the original URI of the imagee
- the image exceptionloc
- the location of the error or null- Event severity level:
- ERROR
-
imageIOError
I/O error while loading an image.- Parameters:
source
- the event sourceuri
- the original URI of the imageioe
- the I/O exceptionloc
- the location of the error or null- Event severity level:
- ERROR
-
imageWritingError
Error while writing/serializing an image to an output format.- Parameters:
source
- the event sourcee
- the original exception- Event severity level:
- ERROR
-
uriError
Error while handling a URI.- Parameters:
source
- the event sourceuri
- the original URI of the imagee
- the original exceptionloc
- the location of the error or null- Event severity level:
- ERROR
-
ifoNoIntrinsicSize
Intrinsic size of fo:instream-foreign-object could not be determined.- Parameters:
source
- the event sourceloc
- the location of the error or null- Event severity level:
- ERROR
-
foreignXMLProcessingError
Error processing foreign XML content.- Parameters:
source
- the event sourcedoc
- the foreign XMLnamespaceURI
- the namespace URI of the foreign XMLe
- the original exception- Event severity level:
- ERROR
-
foreignXMLNoHandler
No handler for foreign XML content.- Parameters:
source
- the event sourcedoc
- the foreign XMLnamespaceURI
- the namespace URI of the foreign XML- Event severity level:
- ERROR
-
cannotDeleteTempFile
Cannot delete a temporary file.- Parameters:
source
- the event sourcetempFile
- the temporary file- Event severity level:
- ERROR
-
catalogResolverNotFound
Catalog Resolver not found along the class path- Parameters:
source
- the event source- Event severity level:
- ERROR
-
catalogResolverNotCreated
Catalog Resolver not created, due to InstantiationException or IllegalAccessException- Parameters:
source
- the event sourcemessage
- the exception message- Event severity level:
- ERROR
-
imageWarning
Warning in an image.- Parameters:
source
- the event sourcemessage
- warning- Event severity level:
- WARN
-
hyphenationNotFound
Hyphenation not found.- Parameters:
source
- the event sourceuri
- the original URI of the hyphenation- Event severity level:
- WARN
-