public static final class DefaultFontConfig.DefaultFontConfigParser extends java.lang.Object implements FontConfig.FontConfigParser
| Constructor and Description |
|---|
DefaultFontConfigParser() |
| Modifier and Type | Method and Description |
|---|---|
DefaultFontConfig |
parse(org.apache.avalon.framework.configuration.Configuration cfg,
boolean strict)
Parses the font configuration and return the configuration object.
|
FontConfig |
parse(org.apache.avalon.framework.configuration.Configuration cfg,
FontManager fontManager,
boolean strict,
EventProducer eventProducer)
Parse the font configuration and return an object containing all the necessary data.
|
public DefaultFontConfig parse(org.apache.avalon.framework.configuration.Configuration cfg, boolean strict) throws FOPException
cfg - the configuration datastrict - whether or not to enforce strict validationFOPException - if an error occurs when creating the configuration objectpublic FontConfig parse(org.apache.avalon.framework.configuration.Configuration cfg, FontManager fontManager, boolean strict, EventProducer eventProducer) throws FOPException
parse in interface FontConfig.FontConfigParsercfg - the configuration objectfontManager - the font managerstrict - whether or not to enforce strict validationeventProducer - the event producer for handling font eventsFOPException - if an error occurs creating the font configuration objectCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.