DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.test
Class ValidatorTester.MyErrorHandler

java.lang.Object
  extended by org.dlese.dpc.schemedit.test.ValidatorTester.MyErrorHandler
All Implemented Interfaces:
ErrorHandler
Enclosing class:
ValidatorTester

public class ValidatorTester.MyErrorHandler
extends Object
implements ErrorHandler


Method Summary
 void error(SAXParseException exc)
          DESCRIPTION
 void fatalError(SAXParseException exc)
          DESCRIPTION
 boolean hasErrors()
          Determines whether the parser found any validation errors.
 boolean hasWarnings()
          Determines whether the parser found any validation warnings.
 void warning(SAXParseException exc)
          DESCRIPTION
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

error

public void error(SAXParseException exc)
DESCRIPTION

Specified by:
error in interface ErrorHandler
Parameters:
exc - DESCRIPTION

hasErrors

public boolean hasErrors()
Determines whether the parser found any validation errors.

Returns:
True if errors were found, else false.

hasWarnings

public boolean hasWarnings()
Determines whether the parser found any validation warnings.

Returns:
True if warnings were found, else false.

fatalError

public void fatalError(SAXParseException exc)
DESCRIPTION

Specified by:
fatalError in interface ErrorHandler
Parameters:
exc - DESCRIPTION

warning

public void warning(SAXParseException exc)
DESCRIPTION

Specified by:
warning in interface ErrorHandler
Parameters:
exc - DESCRIPTION

DLESE Tools
v1.6.0