net.sf.jour.rt.view.config.impl.runtime
Class ErrorHandlerAdaptor

java.lang.Object
  extended bynet.sf.jour.rt.view.config.impl.runtime.ErrorHandlerAdaptor
All Implemented Interfaces:
org.xml.sax.ErrorHandler

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

Receives errors through ErrorHandler and reports to the SAXUnmarshallerHandler.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Constructor Summary
ErrorHandlerAdaptor(SAXUnmarshallerHandler _host, com.sun.xml.bind.validator.Locator locator)
           
 
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

ErrorHandlerAdaptor

public ErrorHandlerAdaptor(SAXUnmarshallerHandler _host,
                           com.sun.xml.bind.validator.Locator locator)
Method Detail

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

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

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 © 2004 sourceforge. All Rights Reserved.