public class JRXmlTemplateDigesterFactory extends Object implements ErrorHandler
JRTemplate
Modifier and Type | Field and Description |
---|---|
protected static String |
PATTERN_BOX |
protected static String |
PATTERN_BOX_BOTTOM_PEN |
protected static String |
PATTERN_BOX_LEFT_PEN |
protected static String |
PATTERN_BOX_PEN |
protected static String |
PATTERN_BOX_RIGHT_PEN |
protected static String |
PATTERN_BOX_TOP_PEN |
protected static String |
PATTERN_INCLUDED_TEMPLATE |
protected static String |
PATTERN_PARAGRAPH |
protected static String |
PATTERN_ROOT |
protected static String |
PATTERN_STYLE |
protected static String |
PATTERN_STYLE_PEN |
protected static String |
PATTERN_TAB_STOP |
Modifier | Constructor and Description |
---|---|
protected |
JRXmlTemplateDigesterFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureDigester(JasperReportsContext jasperReportsContext,
org.apache.commons.digester.Digester digester) |
JRXmlDigester |
createDigester(JasperReportsContext jasperReportsContext)
Creates and configures a digester for template XML.
|
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
static JRXmlTemplateDigesterFactory |
instance()
Returns the singleton instance.
|
protected org.apache.commons.digester.RuleSet |
readRuleSet() |
void |
warning(SAXParseException exception) |
protected static final String PATTERN_ROOT
protected static final String PATTERN_INCLUDED_TEMPLATE
protected static final String PATTERN_STYLE
protected static final String PATTERN_STYLE_PEN
protected static final String PATTERN_BOX
protected static final String PATTERN_BOX_PEN
protected static final String PATTERN_BOX_TOP_PEN
protected static final String PATTERN_BOX_LEFT_PEN
protected static final String PATTERN_BOX_BOTTOM_PEN
protected static final String PATTERN_BOX_RIGHT_PEN
protected static final String PATTERN_PARAGRAPH
protected static final String PATTERN_TAB_STOP
public static JRXmlTemplateDigesterFactory instance()
protected org.apache.commons.digester.RuleSet readRuleSet()
public JRXmlDigester createDigester(JasperReportsContext jasperReportsContext)
protected void configureDigester(JasperReportsContext jasperReportsContext, org.apache.commons.digester.Digester digester) throws SAXException, ParserConfigurationException
public void error(SAXParseException exception) throws SAXException
error
in interface ErrorHandler
SAXException
public void fatalError(SAXParseException exception) throws SAXException
fatalError
in interface ErrorHandler
SAXException
public void warning(SAXParseException exception) throws SAXException
warning
in interface ErrorHandler
SAXException
Copyright © 2017. All rights reserved.