|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.resolver.apps.XParseError
public class XParseError
An ErrorHandler for xparse.
This class is just the error handler for xparse.
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XParseError(boolean errors, boolean warnings)
Method Detail |
---|
public int getErrorCount()
public int getFatalCount()
public int getWarningCount()
public int getMaxMessages()
public void setMaxMessages(int max)
public void error(SAXParseException exception)
error
in interface ErrorHandler
exception
- The error information encapsulated in a
SAX parse exception.SAXParseException
public void fatalError(SAXParseException exception)
fatalError
in interface ErrorHandler
exception
- The error information encapsulated in a
SAX parse exception.SAXParseException
public void warning(SAXParseException exception)
warning
in interface ErrorHandler
exception
- The warning information encapsulated in a
SAX parse exception.SAXParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |