edu.mit.jverbnet.util.parse
Class NullErrorHandler

java.lang.Object
  extended by edu.mit.jverbnet.util.parse.NullErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

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

An error handler that does nothing.

Since:
JVerbnet 1.0.0
Version:
1.2.0
Author:
Mark A. Finlayson

Constructor Summary
protected NullErrorHandler()
          The constructor is marked protected so that this class may be subclassed, but not directly instantiated.
 
Method Summary
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
static NullErrorHandler getInstance()
          Returns the singleton instance of this object, creating it if necessary.
 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

NullErrorHandler

protected NullErrorHandler()
The constructor is marked protected so that this class may be subclassed, but not directly instantiated.

Since:
JVerbnet 1.0.0
Method Detail

getInstance

public static NullErrorHandler getInstance()
Returns the singleton instance of this object, creating it if necessary.

Returns:
the singleton instance
Since:
JVerbnet 1.0.0

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

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


Copyright © 2012 ${project.organization.name}. All Rights Reserved.