net.sf.jasperreports.engine.xml
Class JRReportSaxParserFactory
java.lang.Object
net.sf.jasperreports.engine.xml.BaseSaxParserFactory
net.sf.jasperreports.engine.xml.JRReportSaxParserFactory
- All Implemented Interfaces:
- JRSaxParserFactory
public class JRReportSaxParserFactory
- extends BaseSaxParserFactory
The default report SAX parser factory.
This factory creates a parser via the default SAX parser factory
(javax.xml.parsers.SAXParserFactory.newInstance()
).
JRXMLs 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: JRReportSaxParserFactory.java 5088 2012-03-15 11:55:32Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPILER_XML_VALIDATION
public static final java.lang.String COMPILER_XML_VALIDATION
- Whether to validate the xml report when compiling.
Defaults to true
.
- See Also:
- Constant Field Values
JRReportSaxParserFactory
public JRReportSaxParserFactory()
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
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com