public class FontListSerializer extends Object
| Constructor and Description |
|---|
FontListSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateSAX(SortedMap fontFamilies,
GenerationHelperContentHandler handler)
Generates SAX events from the font damily map.
|
void |
generateSAX(SortedMap fontFamilies,
String singleFamily,
GenerationHelperContentHandler handler)
Generates SAX events from the font damily map.
|
public void generateSAX(SortedMap fontFamilies, GenerationHelperContentHandler handler) throws SAXException
fontFamilies - the font familieshandler - the target SAX handlerSAXException - if an XML-related exception occurspublic void generateSAX(SortedMap fontFamilies, String singleFamily, GenerationHelperContentHandler handler) throws 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 handlerSAXException - if an XML-related exception occursCopyright © 2025 Apache Software Foundation. All rights reserved.