org.apache.fop.tools.fontlist
Class FontListSerializer
java.lang.Object
org.apache.fop.tools.fontlist.FontListSerializer
public class FontListSerializer
- extends java.lang.Object
Turns the font list into SAX events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontListSerializer
public FontListSerializer()
generateSAX
public void generateSAX(java.util.SortedMap fontFamilies,
GenerationHelperContentHandler handler)
throws org.xml.sax.SAXException
- Generates SAX events from the font damily map.
- Parameters:
fontFamilies
- the font familieshandler
- the target SAX handler
- Throws:
org.xml.sax.SAXException
- if an XML-related exception occurs
generateSAX
public void generateSAX(java.util.SortedMap fontFamilies,
java.lang.String singleFamily,
GenerationHelperContentHandler handler)
throws org.xml.sax.SAXException
- Generates SAX events from the font damily map.
- Parameters:
fontFamilies
- the font familiessingleFamily
- if not null, the output will be filtered so only this single font family
will be usedhandler
- the target SAX handler
- Throws:
org.xml.sax.SAXException
- if an XML-related exception occurs
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.