Interface ContentHandlerFactory

All Known Implementing Classes:
AFPExtensionHandlerFactory, DOMBuilderContentHandlerFactory, PDFExtensionHandlerFactory, PSExtensionHandlerFactory, SVGDOMContentHandlerFactory, XMPContentHandlerFactory

public interface ContentHandlerFactory
Factory interface implemented by classes that can instantiate ContentHandler subclasses which parse a SAX stream into Java objects.
  • Method Details

    • getSupportedNamespaces

      String[] getSupportedNamespaces()
      Returns:
      an array of supported namespaces.
    • createContentHandler

      ContentHandler createContentHandler() throws SAXException
      Returns:
      a new ContentHandler to handle a SAX stream
      Throws:
      SAXException - if there's an error while preparing the ContentHandler