org.apache.xml.resolver.apps
public class XParseError extends java.lang.Object implements org.xml.sax.ErrorHandler
This class is just the error handler for xparse.
xparse
Constructor and Description |
---|
XParseError(boolean errors,
boolean warnings)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
error(org.xml.sax.SAXParseException exception)
SAX2 API
|
void |
fatalError(org.xml.sax.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(org.xml.sax.SAXParseException exception)
SAX2 API
|
public int getErrorCount()
public int getFatalCount()
public int getWarningCount()
public int getMaxMessages()
public void setMaxMessages(int max)
public void error(org.xml.sax.SAXParseException exception)
error
in interface org.xml.sax.ErrorHandler
public void fatalError(org.xml.sax.SAXParseException exception)
fatalError
in interface org.xml.sax.ErrorHandler
public void warning(org.xml.sax.SAXParseException exception)
warning
in interface org.xml.sax.ErrorHandler
Copyright ? 2001-2003 Apache Software Foundation. All Rights Reserved.