Class FSCatalog.CatalogContentHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.xhtmlrenderer.resource.FSCatalog.CatalogContentHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Enclosing class:
FSCatalog

private static class FSCatalog.CatalogContentHandler extends DefaultHandler
A SAX ContentHandler that reads an XML catalog file and builds a Map of public IDs to local URIs. Currently only handles the element and attributes. To use, just call XMLReader.setContentHandler() with an instance of the class, parse, then call getEntityMap().
  • Field Details

  • Constructor Details

    • CatalogContentHandler

      private CatalogContentHandler()
  • Method Details