edu.stanford.rt.parser
Class ParsingErrorHandler

java.lang.Object
  |
  +--edu.stanford.rt.parser.ParsingErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

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


Constructor Summary
ParsingErrorHandler()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException ex)
          Error.
 void fatalError(org.xml.sax.SAXParseException ex)
          Fatal error.
private  java.lang.String getLocationString(org.xml.sax.SAXParseException ex)
          Returns a string of the location.
 void warning(org.xml.sax.SAXParseException ex)
          Warning.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsingErrorHandler

public ParsingErrorHandler()
Method Detail

warning

public void warning(org.xml.sax.SAXParseException ex)
Warning.

Specified by:
warning in interface org.xml.sax.ErrorHandler

error

public void error(org.xml.sax.SAXParseException ex)
Error.

Specified by:
error in interface org.xml.sax.ErrorHandler

fatalError

public void fatalError(org.xml.sax.SAXParseException ex)
                throws org.xml.sax.SAXException
Fatal error.

Specified by:
fatalError in interface org.xml.sax.ErrorHandler
org.xml.sax.SAXException

getLocationString

private java.lang.String getLocationString(org.xml.sax.SAXParseException ex)
Returns a string of the location.