org.apache.xml.resolver.apps
Class XParseError
- ErrorHandler
public class XParseError
implements ErrorHandler
An ErrorHandler for xparse.
This class is just the error handler for xparse.
XParseError(boolean errors, boolean warnings) - Constructor
|
XParseError
public XParseError(boolean errors,
boolean warnings)
Constructor
error
public void error(SAXParseException exception)
SAX2 API
fatalError
public void fatalError(SAXParseException exception)
SAX2 API
getErrorCount
public int getErrorCount()
Return the error count
getFatalCount
public int getFatalCount()
Return the fatal error count
getMaxMessages
public int getMaxMessages()
Return the number of messages to display
getWarningCount
public int getWarningCount()
Return the warning count
setMaxMessages
public void setMaxMessages(int max)
Set the number of messages to display
warning
public void warning(SAXParseException exception)
SAX2 API
Copyright B) 2001-2003 Apache Software Foundation. All Rights Reserved.