public class FontManagerConfigurator
extends java.lang.Object
Constructor and Description |
---|
FontManagerConfigurator(org.apache.avalon.framework.configuration.Configuration cfg)
Main constructor
|
FontManagerConfigurator(org.apache.avalon.framework.configuration.Configuration cfg,
java.net.URI baseURI)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
void |
configure(FontManager fontManager,
boolean strict)
Initializes font settings from the user configuration
|
static FontTriplet.Matcher |
createFontsMatcher(org.apache.avalon.framework.configuration.Configuration cfg,
boolean strict)
Creates a font triplet matcher from a configuration object.
|
public FontManagerConfigurator(org.apache.avalon.framework.configuration.Configuration cfg)
cfg
- the font manager configuration objectpublic FontManagerConfigurator(org.apache.avalon.framework.configuration.Configuration cfg, java.net.URI baseURI)
cfg
- the font manager configuration objectbaseURI
- the base URI of the configurationpublic void configure(FontManager fontManager, boolean strict) throws FOPException
fontManager
- a font managerstrict
- true if strict checking of the configuration is enabledFOPException
- if an exception occurs while processing the configurationpublic static FontTriplet.Matcher createFontsMatcher(org.apache.avalon.framework.configuration.Configuration cfg, boolean strict) throws FOPException
cfg
- the configuration objectstrict
- true for strict configuraton error handlingFOPException
- if an error occurs while building the matcherCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.