|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fonts.FontManagerConfigurator
public class FontManagerConfigurator
Configurator of the FontManager
Constructor Summary | |
---|---|
FontManagerConfigurator(org.apache.avalon.framework.configuration.Configuration cfg,
java.net.URI baseURI,
java.net.URI fallbackURI,
org.apache.xmlgraphics.io.ResourceResolver resourceResolver)
Main constructor |
Method Summary | |
---|---|
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. |
static FontTriplet.Matcher |
createFontsMatcher(java.util.List<java.lang.String> fontFamilies,
boolean strict)
Creates a font triplet matcher from a configuration object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontManagerConfigurator(org.apache.avalon.framework.configuration.Configuration cfg, java.net.URI baseURI, java.net.URI fallbackURI, org.apache.xmlgraphics.io.ResourceResolver resourceResolver)
cfg
- the font manager configuration objectbaseURI
- the URI against which to resolve relative URIsfallbackURI
- the URI to use as a fallback if font-base is unspecifiedresourceResolver
- the resource resolverMethod Detail |
---|
public void configure(FontManager fontManager, boolean strict) throws FOPException
fontManager
- a font managerstrict
- true if strict checking of the configuration is enabled
FOPException
- 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 handling
FOPException
- if an error occurs while building the matcherpublic static FontTriplet.Matcher createFontsMatcher(java.util.List<java.lang.String> fontFamilies, boolean strict) throws FOPException
fontFamilies
- the list of font familiesstrict
- true for strict configuraton error handling
FOPException
- if an error occurs while building the matcher
|
fop 2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |