Package org.apache.fop.render.afp
Class AFPFontConfig.AFPFontInfoConfigParser
- java.lang.Object
-
- org.apache.fop.render.afp.AFPFontConfig.AFPFontInfoConfigParser
-
- All Implemented Interfaces:
FontConfig.FontConfigParser
- Enclosing class:
- AFPFontConfig
static final class AFPFontConfig.AFPFontInfoConfigParser extends java.lang.Object implements FontConfig.FontConfigParser
The parser for AFP font data.
-
-
Constructor Summary
Constructors Constructor Description AFPFontInfoConfigParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) AFPFontConfig
getEmptyConfig()
AFPFontConfig
parse(Configuration cfg, FontManager fontManager, boolean strict, EventProducer eventProducer)
Parse the font configuration and return an object containing all the necessary data.
-
-
-
Method Detail
-
parse
public AFPFontConfig parse(Configuration cfg, FontManager fontManager, boolean strict, EventProducer eventProducer) throws FOPException
Parse the font configuration and return an object containing all the necessary data.}- Specified by:
parse
in interfaceFontConfig.FontConfigParser
- Parameters:
cfg
- the configuration objectfontManager
- the font managerstrict
- whether or not to enforce strict validationeventProducer
- the event producer for handling font events- Returns:
- the configuration object
- Throws:
FOPException
- if an error occurs creating the font configuration object
-
getEmptyConfig
AFPFontConfig getEmptyConfig()
-
-