Package org.apache.fop.afp
Interface AFPEventProducer
public interface AFPEventProducer
Event producer interface for AFP-specific events.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classProvider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacterSetEncodingError(Object source, String charSetName, String encoding) A character set encoding error occurred.voidcharactersetMissingMetrics(Object source, char character, String charSet) The characterset is missing metric information for the specified charactervoidcharacterSetNameInvalid(Object source, String msg) The character set given has an invalid name.voidcodePageNotFound(Object source, Exception e) The code page for an AFP font could not be found.voidfontConfigMissing(Object source, String missingConfig, String location) A mandatory font configuration node is missing at location.voidinvalidConfiguration(Object source, Exception e) This is a generic event for invalid configuration errors.voidinvalidDBFontInSVG(Object source, String fontFamily) Double-byte fonts are not currently supported in SVG.voidresourceEmbeddingError(Object source, String resourceName, Exception e) Triggered when an external resource fails to be embedded.voidwarnDefaultFontSetup(Object source) Warn about using default font setup.voidwarnMissingDefaultFont(Object source, String style, int weight) Warn about a missing default "any" font configuration.
-
Method Details
-
warnDefaultFontSetup
Warn about using default font setup.- Parameters:
source- the event source- Event severity level:
- WARN
-
warnMissingDefaultFont
Warn about a missing default "any" font configuration.- Parameters:
source- the event sourcestyle- the font styleweight- the font weight- Event severity level:
- WARN
-
characterSetEncodingError
A character set encoding error occurred.- Parameters:
source- the event sourcecharSetName- the character set nameencoding- the encoding- Event severity level:
- ERROR
-
resourceEmbeddingError
Triggered when an external resource fails to be embedded.- Parameters:
source- the event sourceresourceName- the name of the resource where the error occurrede- the original exception- Event severity level:
- ERROR
-
fontConfigMissing
A mandatory font configuration node is missing at location.- Parameters:
source- the event sourcemissingConfig- the expected configuration elementlocation- the position of the missing element within the config file.- Event severity level:
- ERROR
-
characterSetNameInvalid
The character set given has an invalid name.- Parameters:
source- the event sourcemsg- the error message- Event severity level:
- ERROR
-
codePageNotFound
The code page for an AFP font could not be found.- Parameters:
source- the event sourcee- the original exception- Event severity level:
- ERROR
-
invalidConfiguration
This is a generic event for invalid configuration errors.- Parameters:
source- the event sourcee- the original exception- Event severity level:
- ERROR
-
charactersetMissingMetrics
The characterset is missing metric information for the specified character- Parameters:
source- the event sourcecharacter- the character with missing metric information.charSet- the character set containing missing metric information- Event severity level:
- WARN
-
invalidDBFontInSVG
Double-byte fonts are not currently supported in SVG.- Parameters:
source- the event sourcefontFamily- name of DB font- Event severity level:
- WARN
-