org.qedeq.kernel.xml.parser
Class SaxErrorHandler

java.lang.Object
  extended by org.qedeq.kernel.xml.parser.SaxErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler

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

Error handler for XML parsing.

Author:
Michael Meyling

Field Summary
static int SAX_PARSER_EXCEPTION
          Error code for Exceptions thrown by the SAXParser.
 
Constructor Summary
SaxErrorHandler(ModuleService plugin, java.lang.String url, SourceFileExceptionList list)
          Constructor.
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
 void warning(org.xml.sax.SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SAX_PARSER_EXCEPTION

public static final int SAX_PARSER_EXCEPTION
Error code for Exceptions thrown by the SAXParser.

See Also:
Constant Field Values
Constructor Detail

SaxErrorHandler

public SaxErrorHandler(ModuleService plugin,
                       java.lang.String url,
                       SourceFileExceptionList list)
Constructor.

Parameters:
plugin - This plugin generated the error.
url - URL that is parsed.
list - Collector for the SAX exceptions.
Method Detail

warning

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

error

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

fatalError

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


Copyright © 2014. All Rights Reserved.