public interface AFPEventProducer extends EventProducer
Modifier and Type | Interface and Description |
---|---|
static class |
AFPEventProducer.Provider
Provider class for the event producer.
|
Modifier and Type | Method and Description |
---|---|
void |
characterSetEncodingError(java.lang.Object source,
java.lang.String charSetName,
java.lang.String encoding)
A character set encoding error occurred.
|
void |
resourceEmbeddingError(java.lang.Object source,
java.lang.String resourceName,
java.lang.Exception e)
Triggered when an external resource fails to be embedded.
|
void |
warnDefaultFontSetup(java.lang.Object source)
Warn about using default font setup.
|
void |
warnMissingDefaultFont(java.lang.Object source,
java.lang.String style,
int weight)
Warn about a missing default "any" font configuration.
|
void warnDefaultFontSetup(java.lang.Object source)
source
- the event sourcevoid warnMissingDefaultFont(java.lang.Object source, java.lang.String style, int weight)
source
- the event sourcestyle
- the font styleweight
- the font weightvoid characterSetEncodingError(java.lang.Object source, java.lang.String charSetName, java.lang.String encoding)
source
- the event sourcecharSetName
- the character set nameencoding
- the encodingvoid resourceEmbeddingError(java.lang.Object source, java.lang.String resourceName, java.lang.Exception e)
source
- the event sourceresourceName
- the name of the resource where the error occurrede
- the original exceptionCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.