public class FontListSerializer
extends java.lang.Object
Constructor and Description |
---|
FontListSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
generateSAX(java.util.SortedMap fontFamilies,
GenerationHelperContentHandler handler)
Generates SAX events from the font damily map.
|
void |
generateSAX(java.util.SortedMap fontFamilies,
java.lang.String singleFamily,
GenerationHelperContentHandler handler)
Generates SAX events from the font damily map.
|
public void generateSAX(java.util.SortedMap fontFamilies, GenerationHelperContentHandler handler) throws org.xml.sax.SAXException
fontFamilies
- the font familieshandler
- the target SAX handlerorg.xml.sax.SAXException
- if an XML-related exception occurspublic void generateSAX(java.util.SortedMap fontFamilies, java.lang.String singleFamily, GenerationHelperContentHandler handler) throws org.xml.sax.SAXException
fontFamilies
- the font familiessingleFamily
- if not null, the output will be filtered so only this single font family
will be usedhandler
- the target SAX handlerorg.xml.sax.SAXException
- if an XML-related exception occursCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.