jAudioFeatureExtractor.ACE.XMLParsers
Class ParsingXMLErrorHandler

java.lang.Object
  extended by jAudioFeatureExtractor.ACE.XMLParsers.ParsingXMLErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class ParsingXMLErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

An implementation of the XML SAX ErrorHandler class. The methods of this class are called by an instance of an XMLReader while it is parsing an XML document.

This particular implementation simply throws unaltered exceptions of all three standard types.

Author:
Cory McKay

Constructor Summary
ParsingXMLErrorHandler()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsingXMLErrorHandler

public ParsingXMLErrorHandler()
Method Detail

warning

public void warning(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXParseException
Specified by:
warning in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXParseException

error

public void error(org.xml.sax.SAXParseException exception)
           throws org.xml.sax.SAXParseException
Specified by:
error in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXParseException

fatalError

public void fatalError(org.xml.sax.SAXParseException exception)
                throws org.xml.sax.SAXParseException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXParseException