com.uwyn.rife.xml
Class LoggingErrorRedirector

java.lang.Object
  extended by com.uwyn.rife.xml.XmlErrorRedirector
      extended by com.uwyn.rife.xml.LoggingErrorRedirector
All Implemented Interfaces:
ErrorHandler

public class LoggingErrorRedirector
extends XmlErrorRedirector


Constructor Summary
LoggingErrorRedirector()
           
 
Method Summary
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 Collection<SAXParseException> getErrors()
           
 Collection<SAXParseException> getFatalErrors()
           
 Collection<SAXParseException> getWarnings()
           
 boolean hasErrors()
           
 boolean hasFatalErrors()
           
 boolean hasWarnings()
           
 void warning(SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingErrorRedirector

public LoggingErrorRedirector()
Method Detail

warning

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

error

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

fatalError

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

getWarnings

public Collection<SAXParseException> getWarnings()
Overrides:
getWarnings in class XmlErrorRedirector

getErrors

public Collection<SAXParseException> getErrors()
Overrides:
getErrors in class XmlErrorRedirector

getFatalErrors

public Collection<SAXParseException> getFatalErrors()
Overrides:
getFatalErrors in class XmlErrorRedirector

hasWarnings

public boolean hasWarnings()
Overrides:
hasWarnings in class XmlErrorRedirector

hasErrors

public boolean hasErrors()
Overrides:
hasErrors in class XmlErrorRedirector

hasFatalErrors

public boolean hasFatalErrors()
Overrides:
hasFatalErrors in class XmlErrorRedirector


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.