|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.resolver.apps.XParseError
An ErrorHandler for xparse.
Copyright © 2000, 2001 Sun Microsystems, Inc. All Rights Reserved. This software is the proprietary information of Sun Microsystems, Inc. Use is subject to license terms.
This class is just the error handler for xparse.
xparse
Constructor Summary | |
XParseError(boolean errors,
boolean warnings)
Constructor |
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, 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(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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |