Class PrintSaxParserFactory

  • All Implemented Interfaces:
    JRSaxParserFactory

    public class PrintSaxParserFactory
    extends BaseSaxParserFactory
    The default XML export SAX parser factory.

    This factory creates a parser via the default SAX parser factory (javax.xml.parsers.SAXParserFactory.newInstance()).

    XML exports are always validated using W3C XML schemas. Reports that refer the JasperReports DTD (which has been deprecated) are validated using an internal XML schema equivalent to the DTD.

    To improve performance, XML schemas can be cached when using a Xerces SAX parser. See BaseSaxParserFactory.PROPERTY_CACHE_SCHEMAS.

    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)