org.jboss.util.xml
Class JBossErrorHandler

java.lang.Object
  extended by org.jboss.util.xml.JBossErrorHandler
All Implemented Interfaces:
ErrorListener, ErrorHandler

public class JBossErrorHandler
extends Object
implements ErrorHandler, ErrorListener


Constructor Summary
JBossErrorHandler(String fileName, JBossEntityResolver resolver)
           
 
Method Summary
 void error(SAXParseException e)
           
 void error(TransformerException e)
           
 void fatalError(SAXParseException e)
           
 void fatalError(TransformerException e)
           
protected  String formatError(String context, SAXParseException e)
           
protected  String formatError(String context, TransformerException e)
           
 boolean hadError()
           
 void warning(SAXParseException e)
           
 void warning(TransformerException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossErrorHandler

public JBossErrorHandler(String fileName,
                         JBossEntityResolver resolver)
Method Detail

error

public void error(SAXParseException e)
Specified by:
error in interface ErrorHandler

fatalError

public void fatalError(SAXParseException e)
Specified by:
fatalError in interface ErrorHandler

warning

public void warning(SAXParseException e)
Specified by:
warning in interface ErrorHandler

error

public void error(TransformerException e)
Specified by:
error in interface ErrorListener

fatalError

public void fatalError(TransformerException e)
Specified by:
fatalError in interface ErrorListener

warning

public void warning(TransformerException e)
Specified by:
warning in interface ErrorListener

formatError

protected String formatError(String context,
                             SAXParseException e)

formatError

protected String formatError(String context,
                             TransformerException e)

hadError

public boolean hadError()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.