org.apache.xml.resolver.apps

Class XParseError

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 Summary
XParseError(boolean errors, boolean warnings)
Constructor
Method Summary
voiderror(SAXParseException exception)
SAX2 API
voidfatalError(SAXParseException exception)
SAX2 API
intgetErrorCount()
Return the error count
intgetFatalCount()
Return the fatal error count
intgetMaxMessages()
Return the number of messages to display
intgetWarningCount()
Return the warning count
voidsetMaxMessages(int max)
Set the number of messages to display
voidwarning(SAXParseException exception)
SAX2 API

Constructor Detail

XParseError

public XParseError(boolean errors, boolean warnings)
Constructor

Method Detail

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 Apache. All Rights Reserved.