Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.fonts
Class DefaultFontConfig.DefaultFontConfigParser

    java.lang.Object
      org.apache.fop.fonts.DefaultFontConfig.DefaultFontConfigParser

All Implemented Interfaces:
  FontConfig.FontConfigParser

Enclosing class:
  DefaultFontConfig

    public static final class DefaultFontConfig.DefaultFontConfigParser

extends java.lang.Object
implements FontConfig.FontConfigParser

Parses the morge generic font information.

Constructor Summary
`DefaultFontConfig.DefaultFontConfigParser()`

Method Summary
`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.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultFontConfig.DefaultFontConfigParser

    public DefaultFontConfig.DefaultFontConfigParser()

Method Detail

### parse

    public DefaultFontConfig parse(org.apache.avalon.framework.configuration.Configuration cfg,
                                   boolean strict)
                            throws FOPException

  Parses the font configuration and return the configuration object.

  Parameters:
    `cfg` - the configuration data
    `strict` - whether or not to enforce strict validation
  Returns:
    the font configuration object
  Throws:
    `FOPException` - if an error occurs when creating the configuration object

### parse

    public FontConfig parse(org.apache.avalon.framework.configuration.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 interface `FontConfig.FontConfigParser`
  Parameters:
    `cfg` - the configuration object
    `fontManager` - the font manager
    `strict` - whether or not to enforce strict validation
    `eventProducer` - the event producer for handling font events
  Returns:
    the configuration object
  Throws:
    `FOPException` - if an error occurs creating the font configuration object

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.