Package net.sf.jasperreports.engine.xml
Interface JRSaxParserFactory
- All Known Implementing Classes:
BaseSaxParserFactory,JRReportSaxParserFactory,PrintSaxParserFactory,TemplateSaxParserFactory
public interface JRSaxParserFactory
A factory of
SAXParser objects used by JasperReports
parsers/digesters.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA property that gives a parser factory class which should be used for parsing XML exports.static final StringA property that gives a parser factory class which should be used for parsing JRXMLs.static final StringA property that gives a parser factory class which should be used for parsing style templates. -
Method Summary
-
Field Details
-
PROPERTY_REPORT_PARSER_FACTORY
A property that gives a parser factory class which should be used for parsing JRXMLs.By default, this property is set to use
JRReportSaxParserFactoryas report parser factory.- See Also:
-
PROPERTY_PRINT_PARSER_FACTORY
A property that gives a parser factory class which should be used for parsing XML exports.By default, this property is set to use
PrintSaxParserFactoryas XML export parser factory.- See Also:
-
PROPERTY_TEMPLATE_PARSER_FACTORY
A property that gives a parser factory class which should be used for parsing style templates.By default, this property is set to use
TemplateSaxParserFactoryas style template parser factory.- See Also:
-
-
Method Details
-
createParser
SAXParser createParser()Creates a SAX parser.- Returns:
- the created parser
-