net.sf.jasperreports.engine.xml
Class PrintSaxParserFactory
java.lang.Object
net.sf.jasperreports.engine.xml.BaseSaxParserFactory
net.sf.jasperreports.engine.xml.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
.
- Version:
- $Id: PrintSaxParserFactory.java 4617 2011-09-26 11:25:43Z lucianc $
- Author:
- Lucian Chirita ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintSaxParserFactory
public PrintSaxParserFactory()
isValidating
protected boolean isValidating()
- Specified by:
isValidating
in class BaseSaxParserFactory
getSchemaLocations
protected java.util.List<java.lang.String> getSchemaLocations()
- Specified by:
getSchemaLocations
in class BaseSaxParserFactory
Copyright © 2012. All Rights Reserved.