Class XParseError

java.lang.Object
org.apache.xml.resolver.apps.XParseError
All Implemented Interfaces:
ErrorHandler

public class XParseError extends Object implements ErrorHandler
An ErrorHandler for xparse.

This class is just the error handler for xparse.

Version:
1.0
Author:
Norman Walsh Norman.Walsh@Sun.COM
See Also:
  • Constructor Details

    • XParseError

      public XParseError(boolean errors, boolean warnings)
      Constructor
  • Method Details

    • getErrorCount

      public int getErrorCount()
      Return the error count
    • getFatalCount

      public int getFatalCount()
      Return the fatal error count
    • getWarningCount

      public int getWarningCount()
      Return the warning count
    • getMaxMessages

      public int getMaxMessages()
      Return the number of messages to display
    • setMaxMessages

      public void setMaxMessages(int max)
      Set the number of messages to display
    • error

      public void error(SAXParseException exception)
      SAX2 API
      Specified by:
      error in interface ErrorHandler
    • fatalError

      public void fatalError(SAXParseException exception)
      SAX2 API
      Specified by:
      fatalError in interface ErrorHandler
    • warning

      public void warning(SAXParseException exception)
      SAX2 API
      Specified by:
      warning in interface ErrorHandler