|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.fonts.FontInfoConfigurator
An abstract FontInfo configurator
| Field Summary | |
protected static org.apache.commons.logging.Log |
log
logger instance |
| Constructor Summary | |
FontInfoConfigurator(org.apache.avalon.framework.configuration.Configuration cfg,
FontManager fontManager,
FontResolver fontResolver,
FontEventListener listener,
boolean strict)
Main constructor |
|
| Method Summary | |
protected void |
addFonts(org.apache.avalon.framework.configuration.Configuration fontsCfg,
FontCache fontCache,
java.util.List fontInfoList)
Populates the font info list from the fonts configuration |
void |
configure(java.util.List fontInfoList)
Initializes font info settings from the user configuration |
protected EmbedFontInfo |
getFontInfo(org.apache.avalon.framework.configuration.Configuration fontCfg,
FontCache fontCache)
Returns a font info from a font node Configuration definition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.commons.logging.Log log
| Constructor Detail |
public FontInfoConfigurator(org.apache.avalon.framework.configuration.Configuration cfg,
FontManager fontManager,
FontResolver fontResolver,
FontEventListener listener,
boolean strict)
cfg - the configuration objectfontManager - the font managerfontResolver - the font resolverlistener - the font event listenerstrict - true if an Exception should be thrown if an error is found.| Method Detail |
public void configure(java.util.List fontInfoList)
throws FOPException
fontInfoList - a font info list
FOPException - if an exception occurs while processing the configuration
protected void addFonts(org.apache.avalon.framework.configuration.Configuration fontsCfg,
FontCache fontCache,
java.util.List fontInfoList)
throws FOPException
fontsCfg - a fonts configurationfontCache - a font cachefontInfoList - a font info list
FOPException - if an exception occurs while processing the configuration
protected EmbedFontInfo getFontInfo(org.apache.avalon.framework.configuration.Configuration fontCfg,
FontCache fontCache)
throws FOPException
fontCfg - Configuration object (font node)fontCache - the font cache (or null if it is disabled)
FOPException - if something's wrong with the config data
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||