Example usage for org.xml.sax ErrorHandler interface-usage

List of usage examples for org.xml.sax ErrorHandler interface-usage

Introduction

In this page you can find the example usage for org.xml.sax ErrorHandler interface-usage.

Usage

From source file nl.imvertor.common.file.XmlFile.java

/**
 * An XmlFile represents an XmlFile on the file system.
 * 
 * The XmlFile is an AnyFile and therefore does not access the chain environment.
 *  
 * @author arjan

From source file InlineSchemaValidator.java

/**
 * <p>
 * A sample demonstrating how to use the JAXP 1.3 Validation API to create a
 * validator and use the validator to validate input from a DOM which contains
 * inline schemas and multiple validation roots. The output of this program
 * shows the time spent executing the Validator.validate(Source) method.

From source file net.sf.jasperreports.engine.xml.JRPrintXmlLoader.java

/**
 * Utility class that helps reconverting XML documents into 
 * {@link net.sf.jasperreports.engine.JasperPrint} objects. 
 * <p>
 * Generated documents can be stored in XML format if they are exported using the
 * {@link net.sf.jasperreports.engine.export.JRXmlExporter}. After they're exported,

From source file org.eclipse.rdf4j.rio.trix.TriXParser.java

/**
 * A parser that can parse RDF files that are in the <a href="http://www.w3.org/2004/03/trix/">TriX format</a>
 * .
 * 
 * @author Arjohn Kampman
 */

From source file DOMDump.java

class MyErrorHandler implements ErrorHandler {
    public void warning(SAXParseException e) throws SAXException {
        show("Warning", e);
        throw (e);
    }

From source file org.codehaus.enunciate.config.EnunciateConfiguration.java

/**
 * Base configuration object for enunciate.
 *
 * @author Ryan Heaton
 */
public class EnunciateConfiguration implements ErrorHandler {

From source file net.sf.jasperreports.engine.fonts.SimpleFontExtensionHelper.java

/**
 * @author Teodor Danciu (teodord@users.sourceforge.net)
 */
public final class SimpleFontExtensionHelper implements ErrorHandler {
    private static final Log log = LogFactory.getLog(SimpleFontExtensionHelper.class);
    public static final String EXCEPTION_MESSAGE_KEY_FILE_WRITER_ERROR = "fonts.file.writer.error";

From source file DocumentTracer.java

/**
 * Provides a complete trace of SAX2 events for files parsed. This is
 * useful for making sure that a SAX parser implementation faithfully
 * communicates all information in the document to the SAX handlers.
 *
 * @author Andy Clark, IBM

From source file SAXCopy.java

class MyErrorHandler implements ErrorHandler {
    public void warning(SAXParseException e) throws SAXException {
        show("Warning", e);
        throw (e);
    }

From source file MyContentHandler.java

class MyErrorHandler implements ErrorHandler {
    public void warning(SAXParseException e) throws SAXException {
        show("Warning", e);
        throw (e);
    }