net.sf.jasperreports.engine.xml
Class JRXmlTemplateDigesterFactory
java.lang.Object
net.sf.jasperreports.engine.xml.JRXmlTemplateDigesterFactory
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
public class JRXmlTemplateDigesterFactory
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
Factory for template XML digesters.
- Version:
- $Id: JRXmlTemplateDigesterFactory.java 3034 2009-08-27 11:58:04Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRTemplate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATTERN_ROOT
protected static final java.lang.String PATTERN_ROOT
- See Also:
- Constant Field Values
PATTERN_INCLUDED_TEMPLATE
protected static final java.lang.String PATTERN_INCLUDED_TEMPLATE
- See Also:
- Constant Field Values
PATTERN_STYLE
protected static final java.lang.String PATTERN_STYLE
- See Also:
- Constant Field Values
PATTERN_STYLE_PEN
protected static final java.lang.String PATTERN_STYLE_PEN
- See Also:
- Constant Field Values
PATTERN_BOX
protected static final java.lang.String PATTERN_BOX
- See Also:
- Constant Field Values
PATTERN_BOX_PEN
protected static final java.lang.String PATTERN_BOX_PEN
- See Also:
- Constant Field Values
PATTERN_BOX_TOP_PEN
protected static final java.lang.String PATTERN_BOX_TOP_PEN
- See Also:
- Constant Field Values
PATTERN_BOX_LEFT_PEN
protected static final java.lang.String PATTERN_BOX_LEFT_PEN
- See Also:
- Constant Field Values
PATTERN_BOX_BOTTOM_PEN
protected static final java.lang.String PATTERN_BOX_BOTTOM_PEN
- See Also:
- Constant Field Values
PATTERN_BOX_RIGHT_PEN
protected static final java.lang.String PATTERN_BOX_RIGHT_PEN
- See Also:
- Constant Field Values
JRXmlTemplateDigesterFactory
protected JRXmlTemplateDigesterFactory()
instance
public static JRXmlTemplateDigesterFactory instance()
- Returns the singleton instance.
- Returns:
- the singleton instance
readRuleSet
protected RuleSet readRuleSet()
createDigester
public JRXmlDigester createDigester()
- Creates and configures a digester for template XML.
- Returns:
- a template XML digester
configureDigester
protected void configureDigester(Digester digester)
throws org.xml.sax.SAXException,
javax.xml.parsers.ParserConfigurationException
- Throws:
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
error
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
error
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
warning
public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXException
- Specified by:
warning
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
© 2001-2009 Jaspersoft Corporation www.jaspersoft.com