Package org.apache.fop
Interface ResourceEventProducer
- All Superinterfaces:
EventProducer
Event producer interface for resource events (missing images, fonts etc.).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classProvider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoidcannotDeleteTempFile(Object source, File tempFile) Cannot delete a temporary file.voidcatalogResolverNotCreated(Object source, String message) Catalog Resolver not created, due to InstantiationException or IllegalAccessExceptionvoidcatalogResolverNotFound(Object source) Catalog Resolver not found along the class pathvoidforeignXMLNoHandler(Object source, Document doc, String namespaceURI) No handler for foreign XML content.voidforeignXMLProcessingError(Object source, Document doc, String namespaceURI, Exception e) Error processing foreign XML content.voidhyphenationNotFound(Object source, String uri) Hyphenation not found.voidifoNoIntrinsicSize(Object source, Locator loc) Intrinsic size of fo:instream-foreign-object could not be determined.voidimageError(Object source, String uri, org.apache.xmlgraphics.image.loader.ImageException e, Locator loc) Error while processing image.voidimageIOError(Object source, String uri, IOException ioe, Locator loc) I/O error while loading an image.voidimageNotFound(Object source, String uri, FileNotFoundException fnfe, Locator loc) Image not found.voidimageWarning(Object source, String message) Warning in an image.voidimageWritingError(Object source, Exception e) Error while writing/serializing an image to an output format.voidError 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
-
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
-
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
-
imageWritingError
Error while writing/serializing an image to an output format.- Parameters:
source- the event sourcee- the original exception
-
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
-
ifoNoIntrinsicSize
Intrinsic size of fo:instream-foreign-object could not be determined.- Parameters:
source- the event sourceloc- the location of the error or null
-
foreignXMLProcessingError
Error processing foreign XML content.- Parameters:
source- the event sourcedoc- the foreign XMLnamespaceURI- the namespace URI of the foreign XMLe- the original exception
-
foreignXMLNoHandler
No handler for foreign XML content.- Parameters:
source- the event sourcedoc- the foreign XMLnamespaceURI- the namespace URI of the foreign XML
-
cannotDeleteTempFile
Cannot delete a temporary file.- Parameters:
source- the event sourcetempFile- the temporary file
-
catalogResolverNotFound
Catalog Resolver not found along the class path- Parameters:
source- the event source
-
catalogResolverNotCreated
Catalog Resolver not created, due to InstantiationException or IllegalAccessException- Parameters:
source- the event sourcemessage- the exception message
-
imageWarning
Warning in an image.- Parameters:
source- the event sourcemessage- warning
-
hyphenationNotFound
Hyphenation not found.- Parameters:
source- the event sourceuri- the original URI of the hyphenation
-