org.apache.fop.render.afp.fonts
Class FontCollection

java.lang.Object
  extended byorg.apache.fop.render.afp.fonts.FontCollection

public class FontCollection
extends java.lang.Object

The class provides a wrapper for the collection of installed fonts.


Field Summary
protected static org.apache.commons.logging.Log LOGGER
          Static logging instance
 
Constructor Summary
FontCollection()
          Constructor for the font collection.
 
Method Summary
 void addFontFamily(FontFamily fontFamily)
          Method to add font family objects to the font collection
 java.util.Collection getCollection()
          Method to return a collection of all the font family objects.
 FontFamily getFontFamily(java.lang.String name)
          This method will obtain an FontFamily object for the specified name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static final org.apache.commons.logging.Log LOGGER
Static logging instance

Constructor Detail

FontCollection

public FontCollection()
Constructor for the font collection.

Method Detail

addFontFamily

public void addFontFamily(FontFamily fontFamily)
Method to add font family objects to the font collection

Parameters:
fontFamily - the font family to be added

getFontFamily

public FontFamily getFontFamily(java.lang.String name)
This method will obtain an FontFamily object for the specified name.

Parameters:
name - the font family name
Returns:
the FontFamily object

getCollection

public java.util.Collection getCollection()
Method to return a collection of all the font family objects.

Returns:
the collection of font family objects.