org.apache.xml.resolver.apps

Class XParseError

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:
xparse

Constructor Summary

XParseError(boolean errors, boolean warnings)
Constructor

Method Summary

void
error(SAXParseException exception)
SAX2 API
void
fatalError(SAXParseException exception)
SAX2 API
int
getErrorCount()
Return the error count
int
getFatalCount()
Return the fatal error count
int
getMaxMessages()
Return the number of messages to display
int
getWarningCount()
Return the warning count
void
setMaxMessages(int max)
Set the number of messages to display
void
warning(SAXParseException exception)
SAX2 API

Constructor Details

XParseError

public XParseError(boolean errors,
                   boolean warnings)
Constructor

Method Details

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.