Package org.apache.fop
Interface ResourceEventProducer
-
- All Superinterfaces:
org.apache.fop.events.EventProducer
public interface ResourceEventProducer extends org.apache.fop.events.EventProducerEvent producer interface for resource events (missing images, fonts etc.).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classResourceEventProducer.ProviderProvider class for the event producer.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcannotDeleteTempFile(java.lang.Object source, java.io.File tempFile)Cannot delete a temporary file.voidcatalogResolverNotCreated(java.lang.Object source, java.lang.String message)Catalog Resolver not created, due to InstantiationException or IllegalAccessExceptionvoidcatalogResolverNotFound(java.lang.Object source)Catalog Resolver not found along the class pathvoidforeignXMLNoHandler(java.lang.Object source, org.w3c.dom.Document doc, java.lang.String namespaceURI)No handler for foreign XML content.voidforeignXMLProcessingError(java.lang.Object source, org.w3c.dom.Document doc, java.lang.String namespaceURI, java.lang.Exception e)Error processing foreign XML content.voidhyphenationNotFound(java.lang.Object source, java.lang.String uri)Hyphenation not found.voidifoNoIntrinsicSize(java.lang.Object source, org.xml.sax.Locator loc)Intrinsic size of fo:instream-foreign-object could not be determined.voidimageError(java.lang.Object source, java.lang.String uri, org.apache.xmlgraphics.image.loader.ImageException e, org.xml.sax.Locator loc)Error while processing image.voidimageIOError(java.lang.Object source, java.lang.String uri, java.io.IOException ioe, org.xml.sax.Locator loc)I/O error while loading an image.voidimageNotFound(java.lang.Object source, java.lang.String uri, java.io.FileNotFoundException fnfe, org.xml.sax.Locator loc)Image not found.voidimageWarning(java.lang.Object source, java.lang.String message)Warning in an image.voidimageWritingError(java.lang.Object source, java.lang.Exception e)Error while writing/serializing an image to an output format.voiduriError(java.lang.Object source, java.lang.String uri, java.lang.Exception e, org.xml.sax.Locator loc)Error while handling a URI.
-
-
-
Method Detail
-
imageNotFound
void imageNotFound(java.lang.Object source, java.lang.String uri, java.io.FileNotFoundException fnfe, org.xml.sax.Locator loc)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(java.lang.Object source, java.lang.String uri, org.apache.xmlgraphics.image.loader.ImageException e, org.xml.sax.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
void imageIOError(java.lang.Object source, java.lang.String uri, java.io.IOException ioe, org.xml.sax.Locator loc)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
void imageWritingError(java.lang.Object source, java.lang.Exception e)Error while writing/serializing an image to an output format.- Parameters:
source- the event sourcee- the original exception- Event severity level:
- ERROR
-
uriError
void uriError(java.lang.Object source, java.lang.String uri, java.lang.Exception e, org.xml.sax.Locator loc)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
void ifoNoIntrinsicSize(java.lang.Object source, org.xml.sax.Locator loc)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
void foreignXMLProcessingError(java.lang.Object source, org.w3c.dom.Document doc, java.lang.String namespaceURI, java.lang.Exception e)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
void foreignXMLNoHandler(java.lang.Object source, org.w3c.dom.Document doc, java.lang.String namespaceURI)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
void cannotDeleteTempFile(java.lang.Object source, java.io.File tempFile)Cannot delete a temporary file.- Parameters:
source- the event sourcetempFile- the temporary file- Event severity level:
- ERROR
-
catalogResolverNotFound
void catalogResolverNotFound(java.lang.Object source)
Catalog Resolver not found along the class path- Parameters:
source- the event source- Event severity level:
- ERROR
-
catalogResolverNotCreated
void catalogResolverNotCreated(java.lang.Object source, java.lang.String message)Catalog Resolver not created, due to InstantiationException or IllegalAccessException- Parameters:
source- the event sourcemessage- the exception message- Event severity level:
- ERROR
-
imageWarning
void imageWarning(java.lang.Object source, java.lang.String message)Warning in an image.- Parameters:
source- the event sourcemessage- warning- Event severity level:
- WARN
-
hyphenationNotFound
void hyphenationNotFound(java.lang.Object source, java.lang.String uri)Hyphenation not found.- Parameters:
source- the event sourceuri- the original URI of the hyphenation- Event severity level:
- WARN
-
-